Struct chalk_recursive::fixed_point::stack::StackDepth
source · pub(super) struct StackDepth {
depth: usize,
}
Fields§
§depth: usize
Trait Implementations§
source§impl Clone for StackDepth
impl Clone for StackDepth
source§fn clone(&self) -> StackDepth
fn clone(&self) -> StackDepth
Returns a copy 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 StackDepth
impl Debug for StackDepth
source§impl Hash for StackDepth
impl Hash for StackDepth
source§impl Index<StackDepth> for Stack
impl Index<StackDepth> for Stack
§type Output = StackEntry
type Output = StackEntry
The returned type after indexing.
source§fn index(&self, depth: StackDepth) -> &StackEntry
fn index(&self, depth: StackDepth) -> &StackEntry
Performs the indexing (
container[index]
) operation. Read moresource§impl IndexMut<StackDepth> for Stack
impl IndexMut<StackDepth> for Stack
source§fn index_mut(&mut self, depth: StackDepth) -> &mut StackEntry
fn index_mut(&mut self, depth: StackDepth) -> &mut StackEntry
Performs the mutable indexing (
container[index]
) operation. Read moresource§impl Ord for StackDepth
impl Ord for StackDepth
source§fn cmp(&self, other: &StackDepth) -> Ordering
fn cmp(&self, other: &StackDepth) -> 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 StackDepth
impl PartialEq for StackDepth
source§fn eq(&self, other: &StackDepth) -> bool
fn eq(&self, other: &StackDepth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StackDepth
impl PartialOrd for StackDepth
source§fn partial_cmp(&self, other: &StackDepth) -> Option<Ordering>
fn partial_cmp(&self, other: &StackDepth) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StackDepth
impl Eq for StackDepth
impl StructuralPartialEq for StackDepth
Auto Trait Implementations§
impl Freeze for StackDepth
impl RefUnwindSafe for StackDepth
impl Send for StackDepth
impl Sync for StackDepth
impl Unpin for StackDepth
impl UnwindSafe for StackDepth
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
§impl<T> Cast for T
impl<T> Cast for T
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.