[−][src]Struct daggy::EdgeIndex
Edge identifier.
Implementations
impl<Ix> EdgeIndex<Ix> where
Ix: IndexType,
[src][−]
Ix: IndexType,
pub fn new(x: usize) -> EdgeIndex<Ix>
[src]
pub fn index(self) -> usize
[src]
pub fn end() -> EdgeIndex<Ix>
[src][−]
An invalid EdgeIndex
used to denote absence of an edge, for example
to end an adjacency list.
Trait Implementations
impl<Ix> Clone for EdgeIndex<Ix> where
Ix: Clone,
[src][+]
Ix: Clone,
impl<Ix> Copy for EdgeIndex<Ix> where
Ix: Copy,
[src]
Ix: Copy,
impl<Ix> Debug for EdgeIndex<Ix> where
Ix: Debug,
[src][+]
Ix: Debug,
impl<Ix> Default for EdgeIndex<Ix> where
Ix: Default,
[src][+]
Ix: Default,
impl<Ix> Eq for EdgeIndex<Ix> where
Ix: Eq,
[src]
Ix: Eq,
impl<Ix> GraphIndex for EdgeIndex<Ix> where
Ix: IndexType,
[src][+]
Ix: IndexType,
impl<Ix> Hash for EdgeIndex<Ix> where
Ix: Hash,
[src][+]
Ix: Hash,
impl<N, E, Ix> Index<EdgeIndex<Ix>> for Dag<N, E, Ix> where
Ix: IndexType,
[src][+]
Ix: IndexType,
impl<N, E, Ix> IndexMut<EdgeIndex<Ix>> for Dag<N, E, Ix> where
Ix: IndexType,
[src][+]
Ix: IndexType,
impl<Ix> Ord for EdgeIndex<Ix> where
Ix: Ord,
[src][+]
Ix: Ord,
impl<Ix> PartialEq<EdgeIndex<Ix>> for EdgeIndex<Ix> where
Ix: PartialEq<Ix>,
[src][+]
Ix: PartialEq<Ix>,
impl<Ix> PartialOrd<EdgeIndex<Ix>> for EdgeIndex<Ix> where
Ix: PartialOrd<Ix>,
[src][+]
Ix: PartialOrd<Ix>,
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,
Ix: RefUnwindSafe,
impl<Ix> Send for EdgeIndex<Ix> where
Ix: Send,
Ix: Send,
impl<Ix> Sync for EdgeIndex<Ix> where
Ix: Sync,
Ix: Sync,
impl<Ix> Unpin for EdgeIndex<Ix> where
Ix: Unpin,
Ix: Unpin,
impl<Ix> UnwindSafe for EdgeIndex<Ix> where
Ix: UnwindSafe,
Ix: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,