pub struct DynamicStackSlot(/* private fields */);
Expand description
An opaque reference to a dynamic stack slot.
Implementations§
Source§impl DynamicStackSlot
impl DynamicStackSlot
Sourcepub fn with_number(n: u32) -> Option<Self>
pub fn with_number(n: u32) -> Option<Self>
Create a new stack slot reference from its number.
This method is for use by the parser.
Trait Implementations§
Source§impl Clone for DynamicStackSlot
impl Clone for DynamicStackSlot
Source§fn clone(&self) -> DynamicStackSlot
fn clone(&self) -> DynamicStackSlot
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 DynamicStackSlot
impl Debug for DynamicStackSlot
Source§impl<'de> Deserialize<'de> for DynamicStackSlot
impl<'de> Deserialize<'de> for DynamicStackSlot
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 DynamicStackSlot
impl Display for DynamicStackSlot
Source§impl EntityRef for DynamicStackSlot
impl EntityRef for DynamicStackSlot
Source§impl From<DynamicStackSlot> for AnyEntity
impl From<DynamicStackSlot> for AnyEntity
Source§fn from(r: DynamicStackSlot) -> Self
fn from(r: DynamicStackSlot) -> Self
Converts to this type from the input type.
Source§impl Hash for DynamicStackSlot
impl Hash for DynamicStackSlot
Source§impl Ord for DynamicStackSlot
impl Ord for DynamicStackSlot
Source§fn cmp(&self, other: &DynamicStackSlot) -> Ordering
fn cmp(&self, other: &DynamicStackSlot) -> 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 DynamicStackSlot
impl PartialEq for DynamicStackSlot
Source§impl PartialOrd for DynamicStackSlot
impl PartialOrd for DynamicStackSlot
Source§impl ReservedValue for DynamicStackSlot
impl ReservedValue for DynamicStackSlot
Source§fn reserved_value() -> DynamicStackSlot
fn reserved_value() -> DynamicStackSlot
Create an instance of the reserved value.
Source§fn is_reserved_value(&self) -> bool
fn is_reserved_value(&self) -> bool
Checks whether value is the reserved one.
Source§impl Serialize for DynamicStackSlot
impl Serialize for DynamicStackSlot
impl Copy for DynamicStackSlot
impl Eq for DynamicStackSlot
impl StructuralPartialEq for DynamicStackSlot
Auto Trait Implementations§
impl Freeze for DynamicStackSlot
impl RefUnwindSafe for DynamicStackSlot
impl Send for DynamicStackSlot
impl Sync for DynamicStackSlot
impl Unpin for DynamicStackSlot
impl UnwindSafe for DynamicStackSlot
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,
§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.§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