pub enum Html {
Comment {
text: String,
},
Text {
text: String,
},
Element {
tag: String,
attributes: HashMap<String, String>,
children: Vec<Html>,
},
}Expand description
Simple parsed html representation with recursively added children
Variants§
Trait Implementations§
Source§impl From<Html> for IterableNodes
impl From<Html> for IterableNodes
Source§impl FromIterator<Html> for IterableNodes
impl FromIterator<Html> for IterableNodes
impl StructuralPartialEq for Html
Auto Trait Implementations§
impl Freeze for Html
impl RefUnwindSafe for Html
impl Send for Html
impl Sync for Html
impl Unpin for Html
impl UnwindSafe for Html
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