[−][src]Struct traitgraph::NodeIndex
Implementations
impl<IndexType: PrimInt> NodeIndex<IndexType>
[src]
pub fn invalid() -> Self
[src]
pub fn is_invalid(&self) -> bool
[src]
Trait Implementations
impl<IndexType: Clone + Sized> Clone for NodeIndex<IndexType>
[src]
impl<IndexType: Copy + Sized> Copy for NodeIndex<IndexType>
[src]
impl<IndexType: Debug + Sized> Debug for NodeIndex<IndexType>
[src]
impl<IndexType: Default + Sized> Default for NodeIndex<IndexType>
[src]
impl<IndexType: Sized> Display for NodeIndex<IndexType> where
IndexType: Display,
[src]
IndexType: Display,
impl<IndexType: Eq + Sized> Eq for NodeIndex<IndexType>
[src]
impl<IndexType: Sized> From<IndexType> for NodeIndex<IndexType>
[src]
impl<IndexType: PrimInt + ToPrimitive + IndexType> From<NodeIndex<IndexType>> for NodeIndex<IndexType>
[src]
impl<IndexType: Hash + Sized> Hash for NodeIndex<IndexType>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T, IndexType: PrimInt> Index<NodeIndex<IndexType>> for Vec<T>
[src]
type Output = T
The returned type after indexing.
fn index(&self, index: NodeIndex<IndexType>) -> &Self::Output
[src]
impl<T, IndexType: PrimInt> IndexMut<NodeIndex<IndexType>> for Vec<T>
[src]
impl<IndexType: Sized> OpaqueTypedef for NodeIndex<IndexType>
[src]
type Inner = IndexType
Inner type.
type Error = Infallible
Validation error type.
unsafe fn from_inner_unchecked(__inner: Self::Inner) -> Self
[src]
fn try_from_inner(__inner: Self::Inner) -> Result<Self, Self::Error>
[src]
fn from_inner(__inner: Self::Inner) -> Self
[src]
fn into_inner(self) -> Self::Inner
[src]
fn as_inner(&self) -> &Self::Inner
[src]
unsafe fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
impl<IndexType: Ord + Sized> Ord for NodeIndex<IndexType>
[src]
fn cmp(&self, other: &NodeIndex<IndexType>) -> 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<IndexType: PartialEq + Sized> PartialEq<NodeIndex<IndexType>> for NodeIndex<IndexType>
[src]
fn eq(&self, other: &NodeIndex<IndexType>) -> bool
[src]
fn ne(&self, other: &NodeIndex<IndexType>) -> bool
[src]
impl<IndexType: PartialOrd + Sized> PartialOrd<NodeIndex<IndexType>> for NodeIndex<IndexType>
[src]
fn partial_cmp(&self, other: &NodeIndex<IndexType>) -> Option<Ordering>
[src]
fn lt(&self, other: &NodeIndex<IndexType>) -> bool
[src]
fn le(&self, other: &NodeIndex<IndexType>) -> bool
[src]
fn gt(&self, other: &NodeIndex<IndexType>) -> bool
[src]
fn ge(&self, other: &NodeIndex<IndexType>) -> bool
[src]
impl<IndexType: Sized> StructuralEq for NodeIndex<IndexType>
[src]
impl<IndexType: Sized> StructuralPartialEq for NodeIndex<IndexType>
[src]
impl<IndexType: ToPrimitive> ToPrimitive for NodeIndex<IndexType>
[src]
fn to_i64(&self) -> Option<i64>
[src]
fn to_u64(&self) -> Option<u64>
[src]
fn to_isize(&self) -> Option<isize>
[src]
fn to_i8(&self) -> Option<i8>
[src]
fn to_i16(&self) -> Option<i16>
[src]
fn to_i32(&self) -> Option<i32>
[src]
fn to_i128(&self) -> Option<i128>
[src]
fn to_usize(&self) -> Option<usize>
[src]
fn to_u8(&self) -> Option<u8>
[src]
fn to_u16(&self) -> Option<u16>
[src]
fn to_u32(&self) -> Option<u32>
[src]
fn to_u128(&self) -> Option<u128>
[src]
fn to_f32(&self) -> Option<f32>
[src]
fn to_f64(&self) -> Option<f64>
[src]
Auto Trait Implementations
impl<IndexType> RefUnwindSafe for NodeIndex<IndexType> where
IndexType: RefUnwindSafe,
IndexType: RefUnwindSafe,
impl<IndexType> Send for NodeIndex<IndexType> where
IndexType: Send,
IndexType: Send,
impl<IndexType> Sync for NodeIndex<IndexType> where
IndexType: Sync,
IndexType: Sync,
impl<IndexType> Unpin for NodeIndex<IndexType> where
IndexType: Unpin,
IndexType: Unpin,
impl<IndexType> UnwindSafe for NodeIndex<IndexType> where
IndexType: UnwindSafe,
IndexType: 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<!> for T
[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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,