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