pub struct VisibleNodeIndex(pub NodeIndex<VisibleIx>);
Tuple Fields§
§0: NodeIndex<VisibleIx>
Trait Implementations§
Source§impl Clone for VisibleNodeIndex
impl Clone for VisibleNodeIndex
Source§fn clone(&self) -> VisibleNodeIndex
fn clone(&self) -> VisibleNodeIndex
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 VisibleNodeIndex
impl Debug for VisibleNodeIndex
Source§impl Default for VisibleNodeIndex
impl Default for VisibleNodeIndex
Source§fn default() -> VisibleNodeIndex
fn default() -> VisibleNodeIndex
Returns the “default value” for a type. Read more
Source§impl From<VisibleNodeIndex> for usize
impl From<VisibleNodeIndex> for usize
Source§fn from(x: VisibleNodeIndex) -> Self
fn from(x: VisibleNodeIndex) -> Self
Converts to this type from the input type.
Source§impl From<usize> for VisibleNodeIndex
impl From<usize> for VisibleNodeIndex
Source§impl Hash for VisibleNodeIndex
impl Hash for VisibleNodeIndex
Source§impl Index<VisibleNodeIndex> for VisibleInstGraph
impl Index<VisibleNodeIndex> for VisibleInstGraph
Source§type Output = VisibleNode
type Output = VisibleNode
The returned type after indexing.
Source§impl IndexMut<VisibleNodeIndex> for VisibleInstGraph
impl IndexMut<VisibleNodeIndex> for VisibleInstGraph
Source§impl Ord for VisibleNodeIndex
impl Ord for VisibleNodeIndex
Source§fn cmp(&self, other: &VisibleNodeIndex) -> Ordering
fn cmp(&self, other: &VisibleNodeIndex) -> 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 VisibleNodeIndex
impl PartialEq for VisibleNodeIndex
Source§impl PartialOrd for VisibleNodeIndex
impl PartialOrd for VisibleNodeIndex
impl Copy for VisibleNodeIndex
impl Eq for VisibleNodeIndex
impl StructuralPartialEq for VisibleNodeIndex
Auto Trait Implementations§
impl Freeze for VisibleNodeIndex
impl RefUnwindSafe for VisibleNodeIndex
impl Send for VisibleNodeIndex
impl Sync for VisibleNodeIndex
impl Unpin for VisibleNodeIndex
impl UnwindSafe for VisibleNodeIndex
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