#[repr(transparent)]pub struct StackSlotIdx(pub usize);Expand description
A stack slot index. Used for local variables and temporary values.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for StackSlotIdx
impl Clone for StackSlotIdx
Source§fn clone(&self) -> StackSlotIdx
fn clone(&self) -> StackSlotIdx
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 StackSlotIdx
impl Debug for StackSlotIdx
Source§impl<'de> Deserialize<'de> for StackSlotIdx
impl<'de> Deserialize<'de> for StackSlotIdx
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StackSlotIdx
impl Display for StackSlotIdx
Source§impl From<StackSlotIdx> for usize
impl From<StackSlotIdx> for usize
Source§fn from(idx: StackSlotIdx) -> usize
fn from(idx: StackSlotIdx) -> usize
Converts to this type from the input type.
Source§impl From<usize> for StackSlotIdx
impl From<usize> for StackSlotIdx
Source§impl Hash for StackSlotIdx
impl Hash for StackSlotIdx
Source§impl Ord for StackSlotIdx
impl Ord for StackSlotIdx
Source§fn cmp(&self, other: &StackSlotIdx) -> Ordering
fn cmp(&self, other: &StackSlotIdx) -> 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 StackSlotIdx
impl PartialEq for StackSlotIdx
Source§impl PartialOrd for StackSlotIdx
impl PartialOrd for StackSlotIdx
Source§impl Serialize for StackSlotIdx
impl Serialize for StackSlotIdx
impl Copy for StackSlotIdx
impl Eq for StackSlotIdx
impl StructuralPartialEq for StackSlotIdx
Auto Trait Implementations§
impl Freeze for StackSlotIdx
impl RefUnwindSafe for StackSlotIdx
impl Send for StackSlotIdx
impl Sync for StackSlotIdx
impl Unpin for StackSlotIdx
impl UnsafeUnpin for StackSlotIdx
impl UnwindSafe for StackSlotIdx
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