Enum cranelift_codegen::ir::stackslot::StackSlotKind
source · 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_load
and stack_store
instructions.
ExplicitDynamicSlot
An explicit stack slot for dynamic vector types. This is a chunk of stack memory
for use by the dynamic_stack_load
and dynamic_stack_store
instructions.
Trait Implementations§
source§impl Clone for StackSlotKind
impl Clone for StackSlotKind
source§fn clone(&self) -> StackSlotKind
fn clone(&self) -> StackSlotKind
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 StackSlotKind
impl Debug for StackSlotKind
source§impl Display for StackSlotKind
impl Display for StackSlotKind
source§impl FromStr for StackSlotKind
impl FromStr for StackSlotKind
source§impl Hash for StackSlotKind
impl Hash for StackSlotKind
source§impl PartialEq for StackSlotKind
impl PartialEq for StackSlotKind
source§fn eq(&self, other: &StackSlotKind) -> bool
fn eq(&self, other: &StackSlotKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StackSlotKind
impl Eq for StackSlotKind
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 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: 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
)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.