pub struct NodeId(pub usize);
Expand description
Wrapper for a node id.
Tuple Fields
0: usize
Trait Implementations
sourceimpl<'de> Deserialize<'de> for NodeId
impl<'de> Deserialize<'de> for NodeId
sourcefn deserialize<D>(deserializer: D) -> Result<NodeId, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<NodeId, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for NodeId
impl Eq for NodeId
impl StructuralEq for NodeId
impl StructuralPartialEq for NodeId
Auto Trait Implementations
impl RefUnwindSafe for NodeId
impl Send for NodeId
impl Sync for NodeId
impl Unpin for NodeId
impl UnwindSafe for NodeId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more