[−][src]Struct daggy::NodeIndex
Node identifier.
Implementations
impl<Ix> NodeIndex<Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
pub fn new(x: usize) -> NodeIndex<Ix>
[src]
pub fn index(self) -> usize
[src]
pub fn end() -> NodeIndex<Ix>
[src]
Trait Implementations
impl<Ix> Clone for NodeIndex<Ix> where
Ix: Clone,
[src]
Ix: Clone,
impl<Ix> Copy for NodeIndex<Ix> where
Ix: Copy,
[src]
Ix: Copy,
impl<Ix> Debug for NodeIndex<Ix> where
Ix: Debug,
[src]
Ix: Debug,
impl<Ix> Default for NodeIndex<Ix> where
Ix: Default,
[src]
Ix: Default,
impl<Ix> Eq for NodeIndex<Ix> where
Ix: Eq,
[src]
Ix: Eq,
impl<Ix> From<Ix> for NodeIndex<Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
impl<Ix> GraphIndex for NodeIndex<Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
impl<Ix> Hash for NodeIndex<Ix> where
Ix: Hash,
[src]
Ix: Hash,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<N, E, Ix> Index<NodeIndex<Ix>> for Dag<N, E, Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
impl<N, E, Ix> IndexMut<NodeIndex<Ix>> for Dag<N, E, Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
impl<Ix> Ord for NodeIndex<Ix> where
Ix: Ord,
[src]
Ix: Ord,
fn cmp(&self, other: &NodeIndex<Ix>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<Ix> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix> where
Ix: PartialEq<Ix>,
[src]
Ix: PartialEq<Ix>,
impl<Ix> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix> where
Ix: PartialOrd<Ix>,
[src]
Ix: PartialOrd<Ix>,
fn partial_cmp(&self, other: &NodeIndex<Ix>) -> Option<Ordering>
[src]
fn lt(&self, other: &NodeIndex<Ix>) -> bool
[src]
fn le(&self, other: &NodeIndex<Ix>) -> bool
[src]
fn gt(&self, other: &NodeIndex<Ix>) -> bool
[src]
fn ge(&self, other: &NodeIndex<Ix>) -> bool
[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,
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> 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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,