[][src]Struct outils::types::VertexIndex

pub struct VertexIndex<Ix = DefaultIndexType>(pub Ix);

Newtype to be used as a type-safe vertex identifier

Implementations

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

pub fn index(&self) -> Ix[src]

Returns the wrapped index value

Trait Implementations

impl<Ix: Clone> Clone for VertexIndex<Ix>[src]

impl<Ix: Copy> Copy for VertexIndex<Ix>[src]

impl<Ix: Debug> Debug for VertexIndex<Ix>[src]

impl<Ix: Default> Default for VertexIndex<Ix>[src]

impl<Ix: Eq> Eq for VertexIndex<Ix>[src]

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

impl<Ix: Hash> Hash for VertexIndex<Ix>[src]

impl<Ix: Ord> Ord for VertexIndex<Ix>[src]

impl<Ix: PartialEq> PartialEq<VertexIndex<Ix>> for VertexIndex<Ix>[src]

impl<Ix: PartialOrd> PartialOrd<VertexIndex<Ix>> for VertexIndex<Ix>[src]

impl<Ix> StructuralEq for VertexIndex<Ix>[src]

impl<Ix> StructuralPartialEq for VertexIndex<Ix>[src]

Auto Trait Implementations

impl<Ix> RefUnwindSafe for VertexIndex<Ix> where
    Ix: RefUnwindSafe

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

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

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

impl<Ix> UnwindSafe for VertexIndex<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<T> From<T> for T[src]

impl<T> IndexType for T where
    T: Default + Debug + Copy + Eq + Ord
[src]

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

impl<T> KeyType for T where
    T: Default + Debug + Copy + Eq + 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> ValueType for T where
    T: Default + Debug
[src]