pub struct NodeBranchId(pub NodeId, pub usize);Expand description
ID of a branch of node
Tuple Fields§
§0: NodeId§1: usizeTrait Implementations§
Source§impl Clone for NodeBranchId
impl Clone for NodeBranchId
Source§fn clone(&self) -> NodeBranchId
fn clone(&self) -> NodeBranchId
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 Debug for NodeBranchId
impl Debug for NodeBranchId
Source§impl<'de> Deserialize<'de> for NodeBranchId
impl<'de> Deserialize<'de> for NodeBranchId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&NodeBranchId> for u64
impl From<&NodeBranchId> for u64
Source§fn from(s: &NodeBranchId) -> Self
fn from(s: &NodeBranchId) -> Self
Converts to this type from the input type.
Source§impl From<u64> for NodeBranchId
impl From<u64> for NodeBranchId
Source§impl Hash for NodeBranchId
impl Hash for NodeBranchId
Source§impl PartialEq for NodeBranchId
impl PartialEq for NodeBranchId
Source§impl Serialize for NodeBranchId
impl Serialize for NodeBranchId
impl Eq for NodeBranchId
impl StructuralPartialEq for NodeBranchId
Auto Trait Implementations§
impl Freeze for NodeBranchId
impl RefUnwindSafe for NodeBranchId
impl Send for NodeBranchId
impl Sync for NodeBranchId
impl Unpin for NodeBranchId
impl UnwindSafe for NodeBranchId
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