#[repr(transparent)]pub struct StackIdx(pub usize);
Expand description
Index of a value in the runtime stack. This is an offset relative to the VM value stack_base of the CallFrame containing the opcode which contains this StackIdx.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl PartialEq for StackIdx
impl PartialEq for StackIdx
source§impl PartialOrd for StackIdx
impl PartialOrd for StackIdx
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 StackIdx
impl Eq for StackIdx
impl StructuralPartialEq for StackIdx
Auto Trait Implementations§
impl Freeze for StackIdx
impl RefUnwindSafe for StackIdx
impl Send for StackIdx
impl Sync for StackIdx
impl Unpin for StackIdx
impl UnwindSafe for StackIdx
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<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.