pub enum NodeIdOrRoot {
Node(NodeId),
Root,
}
Variants§
Trait Implementations§
source§impl Clone for NodeIdOrRoot
impl Clone for NodeIdOrRoot
source§fn clone(&self) -> NodeIdOrRoot
fn clone(&self) -> NodeIdOrRoot
Returns a copy 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 Debug for NodeIdOrRoot
impl Debug for NodeIdOrRoot
source§impl PartialEq for NodeIdOrRoot
impl PartialEq for NodeIdOrRoot
impl Copy for NodeIdOrRoot
impl Eq for NodeIdOrRoot
impl StructuralPartialEq for NodeIdOrRoot
Auto Trait Implementations§
impl Freeze for NodeIdOrRoot
impl RefUnwindSafe for NodeIdOrRoot
impl Send for NodeIdOrRoot
impl Sync for NodeIdOrRoot
impl Unpin for NodeIdOrRoot
impl UnwindSafe for NodeIdOrRoot
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)