Struct cranelift_codegen::ir::stackslot::StackSlotData
source · pub struct StackSlotData {
pub kind: StackSlotKind,
pub size: StackSize,
}
Expand description
Contents of a stack slot.
Fields§
§kind: StackSlotKind
The kind of stack slot.
size: StackSize
Size of stack slot in bytes.
Implementations§
Trait Implementations§
source§impl Clone for StackSlotData
impl Clone for StackSlotData
source§fn clone(&self) -> StackSlotData
fn clone(&self) -> StackSlotData
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 StackSlotData
impl Debug for StackSlotData
source§impl Display for StackSlotData
impl Display for StackSlotData
source§impl Hash for StackSlotData
impl Hash for StackSlotData
source§impl PartialEq<StackSlotData> for StackSlotData
impl PartialEq<StackSlotData> for StackSlotData
source§fn eq(&self, other: &StackSlotData) -> bool
fn eq(&self, other: &StackSlotData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StackSlotData
impl StructuralEq for StackSlotData
impl StructuralPartialEq for StackSlotData
Auto Trait Implementations§
impl RefUnwindSafe for StackSlotData
impl Send for StackSlotData
impl Sync for StackSlotData
impl Unpin for StackSlotData
impl UnwindSafe for StackSlotData
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.