[][src]Struct cargo_lock::dependency::graph::NodeIndex

pub struct NodeIndex<Ix = u32>(_);
This is supported on crate feature dependency-tree only.

Node identifier.

Implementations

impl<Ix> NodeIndex<Ix> where
    Ix: IndexType
[src]

pub fn new(x: usize) -> NodeIndex<Ix>[src]

This is supported on crate feature dependency-tree only.

pub fn index(self) -> usize[src]

This is supported on crate feature dependency-tree only.

pub fn end() -> NodeIndex<Ix>[src]

This is supported on crate feature dependency-tree only.

Trait Implementations

impl<Ix> Clone for NodeIndex<Ix> where
    Ix: Clone
[src]

impl<Ix> Copy for NodeIndex<Ix> where
    Ix: Copy
[src]

impl<Ix> Debug for NodeIndex<Ix> where
    Ix: Debug
[src]

impl<Ix> Default for NodeIndex<Ix> where
    Ix: Default
[src]

impl<Ix> Eq for NodeIndex<Ix> where
    Ix: Eq
[src]

impl<Ix> From<Ix> for NodeIndex<Ix> where
    Ix: IndexType
[src]

impl<Ix> GraphIndex for NodeIndex<Ix> where
    Ix: IndexType
[src]

impl<Ix> Hash for NodeIndex<Ix> where
    Ix: Hash
[src]

impl<Ix> Ord for NodeIndex<Ix> where
    Ix: Ord
[src]

impl<Ix> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix> where
    Ix: PartialEq<Ix>, 
[src]

impl<Ix> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix> where
    Ix: PartialOrd<Ix>, 
[src]

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

impl<Ix> Send for NodeIndex<Ix> where
    Ix: Send

impl<Ix> Sync for NodeIndex<Ix> where
    Ix: Sync

impl<Ix> Unpin for NodeIndex<Ix> where
    Ix: Unpin

impl<Ix> UnwindSafe for NodeIndex<Ix> where
    Ix: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.