pub struct RawNodeIndex(pub NodeIndex<RawIx>);
Tuple Fields§
§0: NodeIndex<RawIx>
Trait Implementations§
Source§impl Clone for RawNodeIndex
impl Clone for RawNodeIndex
Source§fn clone(&self) -> RawNodeIndex
fn clone(&self) -> RawNodeIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RawNodeIndex
impl Debug for RawNodeIndex
Source§impl Default for RawNodeIndex
impl Default for RawNodeIndex
Source§fn default() -> RawNodeIndex
fn default() -> RawNodeIndex
Returns the “default value” for a type. Read more
Source§impl From<RawNodeIndex> for usize
impl From<RawNodeIndex> for usize
Source§fn from(x: RawNodeIndex) -> Self
fn from(x: RawNodeIndex) -> Self
Converts to this type from the input type.
Source§impl From<usize> for RawNodeIndex
impl From<usize> for RawNodeIndex
Source§impl Hash for RawNodeIndex
impl Hash for RawNodeIndex
Source§impl IndexesInstGraph for RawNodeIndex
impl IndexesInstGraph for RawNodeIndex
fn index(&self, _graph: &RawInstGraph) -> RawNodeIndex
Source§impl Ord for RawNodeIndex
impl Ord for RawNodeIndex
Source§fn cmp(&self, other: &RawNodeIndex) -> Ordering
fn cmp(&self, other: &RawNodeIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RawNodeIndex
impl PartialEq for RawNodeIndex
Source§impl PartialOrd for RawNodeIndex
impl PartialOrd for RawNodeIndex
impl Copy for RawNodeIndex
impl Eq for RawNodeIndex
impl StructuralPartialEq for RawNodeIndex
Auto Trait Implementations§
impl Freeze for RawNodeIndex
impl RefUnwindSafe for RawNodeIndex
impl Send for RawNodeIndex
impl Sync for RawNodeIndex
impl Unpin for RawNodeIndex
impl UnwindSafe for RawNodeIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<K, V> TiSliceIndex<K, V> for K
impl<K, V> TiSliceIndex<K, V> for K
Source§fn get(
self,
slice: &TiSlice<K, V>,
) -> Option<&<K as TiSliceIndex<K, V>>::Output>
fn get( self, slice: &TiSlice<K, V>, ) -> Option<&<K as TiSliceIndex<K, V>>::Output>
Returns a shared reference to the output at this location, if in
bounds.
Source§fn get_mut(
self,
slice: &mut TiSlice<K, V>,
) -> Option<&mut <K as TiSliceIndex<K, V>>::Output>
fn get_mut( self, slice: &mut TiSlice<K, V>, ) -> Option<&mut <K as TiSliceIndex<K, V>>::Output>
Returns a mutable reference to the output at this location, if in
bounds.
Source§unsafe fn get_unchecked(
self,
slice: &TiSlice<K, V>,
) -> &<K as TiSliceIndex<K, V>>::Output
unsafe fn get_unchecked( self, slice: &TiSlice<K, V>, ) -> &<K as TiSliceIndex<K, V>>::Output
Returns a shared reference to the output at this location, without
performing any bounds checking. Read more
Source§unsafe fn get_unchecked_mut(
self,
slice: &mut TiSlice<K, V>,
) -> &mut <K as TiSliceIndex<K, V>>::Output
unsafe fn get_unchecked_mut( self, slice: &mut TiSlice<K, V>, ) -> &mut <K as TiSliceIndex<K, V>>::Output
Returns a mutable reference to the output at this location, without
performing any bounds checking. Read more