Enum StackSlotKind
pub enum StackSlotKind {
ExplicitSlot,
ExplicitDynamicSlot,
}Expand description
The kind of a stack slot.
Variants§
ExplicitSlot
An explicit stack slot. This is a chunk of stack memory for use by the
stack_addr instruction.
ExplicitDynamicSlot
An explicit stack slot for dynamic vector types. This is a chunk of
stack memory for use by the dynamic_stack_addr instruction.
Trait Implementations§
§impl Clone for StackSlotKind
impl Clone for StackSlotKind
§fn clone(&self) -> StackSlotKind
fn clone(&self) -> StackSlotKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StackSlotKind
§impl Debug for StackSlotKind
impl Debug for StackSlotKind
§impl<'de> Deserialize<'de> for StackSlotKind
impl<'de> Deserialize<'de> for StackSlotKind
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StackSlotKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StackSlotKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for StackSlotKind
impl Display for StackSlotKind
impl Eq for StackSlotKind
§impl FromStr for StackSlotKind
impl FromStr for StackSlotKind
§impl Hash for StackSlotKind
impl Hash for StackSlotKind
§impl PartialEq for StackSlotKind
impl PartialEq for StackSlotKind
§impl Serialize for StackSlotKind
impl Serialize for StackSlotKind
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StackSlotKind
Auto Trait Implementations§
impl Freeze for StackSlotKind
impl RefUnwindSafe for StackSlotKind
impl Send for StackSlotKind
impl Sync for StackSlotKind
impl Unpin for StackSlotKind
impl UnsafeUnpin for StackSlotKind
impl UnwindSafe for StackSlotKind
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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
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.