pub enum DomNodeKind {
Text {
text: String,
},
Element {
tag: String,
attributes: HashMap<String, String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for DomNodeKind
impl Clone for DomNodeKind
Source§fn clone(&self) -> DomNodeKind
fn clone(&self) -> DomNodeKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DomNodeKind
impl RefUnwindSafe for DomNodeKind
impl Send for DomNodeKind
impl Sync for DomNodeKind
impl Unpin for DomNodeKind
impl UnwindSafe for DomNodeKind
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