Struct cranelift_codegen::ir::stackslot::StackLayoutInfo
source · [−]Expand description
Stack frame layout information.
This is computed by the layout_stack()
method.
Fields
frame_size: StackSize
The total size of the stack frame.
This is the distance from the stack pointer in the current function to the stack pointer in the calling function, so it includes a pushed return address as well as space for outgoing call arguments.
inbound_args_size: StackSize
The total size of the stack frame for inbound arguments pushed by the caller.
Trait Implementations
sourceimpl Clone for StackLayoutInfo
impl Clone for StackLayoutInfo
sourcefn clone(&self) -> StackLayoutInfo
fn clone(&self) -> StackLayoutInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StackLayoutInfo
impl Debug for StackLayoutInfo
sourceimpl PartialEq<StackLayoutInfo> for StackLayoutInfo
impl PartialEq<StackLayoutInfo> for StackLayoutInfo
sourcefn eq(&self, other: &StackLayoutInfo) -> bool
fn eq(&self, other: &StackLayoutInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StackLayoutInfo) -> bool
fn ne(&self, other: &StackLayoutInfo) -> bool
This method tests for !=
.
impl Copy for StackLayoutInfo
impl Eq for StackLayoutInfo
impl StructuralEq for StackLayoutInfo
impl StructuralPartialEq for StackLayoutInfo
Auto Trait Implementations
impl RefUnwindSafe for StackLayoutInfo
impl Send for StackLayoutInfo
impl Sync for StackLayoutInfo
impl Unpin for StackLayoutInfo
impl UnwindSafe for StackLayoutInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more