pub enum DevTreeItem<'a, 'dt: 'a> {
Node(DevTreeNode<'a, 'dt>),
Prop(DevTreeProp<'a, 'dt>),
}
Expand description
An enum which contains either a DevTreeNode
or a DevTreeProp
Variants§
Node(DevTreeNode<'a, 'dt>)
Prop(DevTreeProp<'a, 'dt>)
Trait Implementations§
Source§impl<'a, 'dt: 'a> Clone for DevTreeItem<'a, 'dt>
impl<'a, 'dt: 'a> Clone for DevTreeItem<'a, 'dt>
Source§fn clone(&self) -> DevTreeItem<'a, 'dt>
fn clone(&self) -> DevTreeItem<'a, 'dt>
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 moreSource§impl<'a, 'dt: 'a> PartialEq for DevTreeItem<'a, 'dt>
impl<'a, 'dt: 'a> PartialEq for DevTreeItem<'a, 'dt>
impl<'a, 'dt: 'a> StructuralPartialEq for DevTreeItem<'a, 'dt>
Auto Trait Implementations§
impl<'a, 'dt> Freeze for DevTreeItem<'a, 'dt>
impl<'a, 'dt> RefUnwindSafe for DevTreeItem<'a, 'dt>
impl<'a, 'dt> Send for DevTreeItem<'a, 'dt>
impl<'a, 'dt> Sync for DevTreeItem<'a, 'dt>
impl<'a, 'dt> Unpin for DevTreeItem<'a, 'dt>
impl<'a, 'dt> UnwindSafe for DevTreeItem<'a, 'dt>
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