Struct cargo_lock::dependency::graph::NodeIndex [−][src]
pub struct NodeIndex<Ix = u32>(_);
This is supported on crate feature
dependency-tree only.Expand description
Node identifier.
Implementations
Trait Implementations
impl<Ix> GraphIndex for NodeIndex<Ix> where
Ix: IndexType, [src]
impl<Ix> GraphIndex for NodeIndex<Ix> where
Ix: IndexType, [src]impl<Ix> Ord for NodeIndex<Ix> where
Ix: Ord, [src]
impl<Ix> Ord for NodeIndex<Ix> where
Ix: Ord, [src]impl<Ix> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix> where
Ix: PartialOrd<Ix>, [src]
impl<Ix> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix> where
Ix: PartialOrd<Ix>, [src]pub fn partial_cmp(&self, other: &NodeIndex<Ix>) -> Option<Ordering>[src]
pub fn partial_cmp(&self, other: &NodeIndex<Ix>) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<Ix> Copy for NodeIndex<Ix> where
Ix: Copy, [src]
Ix: Copy,
impl<Ix> Eq for NodeIndex<Ix> where
Ix: Eq, [src]
Ix: Eq,
impl<Ix> StructuralEq for NodeIndex<Ix>[src]
impl<Ix> StructuralPartialEq for NodeIndex<Ix>[src]
Auto Trait Implementations
impl<Ix> RefUnwindSafe for NodeIndex<Ix> where
Ix: RefUnwindSafe,
Ix: RefUnwindSafe,
impl<Ix> Send for NodeIndex<Ix> where
Ix: Send,
Ix: Send,
impl<Ix> Sync for NodeIndex<Ix> where
Ix: Sync,
Ix: Sync,
impl<Ix> Unpin for NodeIndex<Ix> where
Ix: Unpin,
Ix: Unpin,
impl<Ix> UnwindSafe for NodeIndex<Ix> where
Ix: UnwindSafe,
Ix: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
pub fn equivalent(&self, key: &K) -> bool[src]Compare self to key and return true if they are equal.
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<N> NodeTrait for N where
N: Copy + Ord + Hash, [src]
N: Copy + Ord + Hash,