pub enum Kind {
Element {
tag: &'static str,
attributes: BTreeMap<&'static str, String>,
properties: BTreeMap<&'static str, Property>,
},
Text(String),
}Variants§
Trait Implementations§
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl !Send for Kind
impl !Sync for Kind
impl Forget for Kind
impl Freeze for Kindwhere
&'static str: Freeze,
*const LeafNode<&'static str, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(&'static str, String)>>: Freeze,
*const LeafNode<&'static str, Property> is !null: Freeze,
PhantomData<Box<(&'static str, Property)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for Kind
impl RefUnwindSafe for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kindwhere
&'static str: UnsafeUnpin,
*const LeafNode<&'static str, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(&'static str, String)>>: UnsafeUnpin,
*const LeafNode<&'static str, Property> is !null: UnsafeUnpin,
PhantomData<Box<(&'static str, Property)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Kindwhere
&'static str: UnwindSafe,
BTreeMap<&'static str, String>: UnwindSafe,
BTreeMap<&'static str, Property>: UnwindSafe,
RawVecInner: UnwindSafe,
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