pub enum Node {
Fragment {
children: NodeChildren,
},
Element {
name: String,
attributes: NodeAttributes,
tags: NodeTags,
children: NodeChildren,
},
Span {
attributes: NodeAttributes,
tags: NodeTags,
children: NodeChildren,
},
Html {
html: String,
},
Text {
text: String,
},
Word {
word: String,
},
Placeholder {
id: String,
},
Whitespace {
space: String,
},
NonBreakingSpace {
space: String,
},
Removed,
}
Variants§
Fragment
Fields
§
children: NodeChildren
Element
Span
Html
Text
Word
Placeholder
Whitespace
NonBreakingSpace
Removed
Implementations§
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more