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 RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnsafeUnpin for Tree
impl UnwindSafe for Tree
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