[][src]Struct outils::types::EdgeIndex

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

Newtype to be used as a type-safe edge identifier

Implementations

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

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

Returns the wrapped index value

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<Ix> UnwindSafe for EdgeIndex<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]