element: Remove unused pub structs

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-04-15 19:14:04 +02:00
parent 974a942f5a
commit 2f082be1f6
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -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>,
}