element: Remove unused pub structs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
974a942f5a
commit
2f082be1f6
1 changed files with 4 additions and 13 deletions
|
@ -52,20 +52,11 @@ pub static SCANSION_NS: &str = "https://matthewwild.co.uk/projects/scansion";
|
|||
|
||||
/// Strict Comparison marker
|
||||
#[derive(Debug)]
|
||||
pub struct StrictComparison;
|
||||
struct StrictComparison;
|
||||
|
||||
/// Non Strict Comparison marker
|
||||
#[derive(Debug)]
|
||||
pub struct NonStrictComparison;
|
||||
|
||||
/// To be used during comparison of text nodes
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum Space {
|
||||
/// Keep spaces during comparison
|
||||
Keep,
|
||||
/// Dismiss spaces during comparison
|
||||
Dismiss,
|
||||
}
|
||||
struct NonStrictComparison;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
enum NodeType {
|
||||
|
@ -75,7 +66,7 @@ enum NodeType {
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
struct ScanNode {
|
||||
pub node: Node,
|
||||
node: Node,
|
||||
}
|
||||
|
||||
impl ScanNode {
|
||||
|
@ -149,7 +140,7 @@ fn filter_whitespace_nodes(nodes: Vec<Node>) -> Vec<Node> {
|
|||
|
||||
#[derive(Debug)]
|
||||
struct ScanNodes<T: Debug> {
|
||||
pub nodes: Vec<Node>,
|
||||
nodes: Vec<Node>,
|
||||
_strict: PhantomData<T>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue