pub struct PushFrameSave {
pub amt: u32,
pub regs: RegSet<XReg>,
}
Expand description
Macro-instruction to enter a function, allocate some stack, and then save some registers.
This is equivalent to push_frame
, stack_alloc32 amt
, then
saving all of regs
to the top of the stack just allocated.
Fields§
§amt: u32
§regs: RegSet<XReg>
Implementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for PushFrameSave
impl<'arbitrary> Arbitrary<'arbitrary> for PushFrameSave
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for PushFrameSave
impl Clone for PushFrameSave
Source§fn clone(&self) -> PushFrameSave
fn clone(&self) -> PushFrameSave
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 PushFrameSave
impl Debug for PushFrameSave
Source§impl Encode for PushFrameSave
Available on crate feature encode
only.
impl Encode for PushFrameSave
Available on crate feature
encode
only.Source§impl From<PushFrameSave> for Op
impl From<PushFrameSave> for Op
Source§fn from(op: PushFrameSave) -> Self
fn from(op: PushFrameSave) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PushFrameSave
impl PartialEq for PushFrameSave
impl Copy for PushFrameSave
impl Eq for PushFrameSave
impl StructuralPartialEq for PushFrameSave
Auto Trait Implementations§
impl Freeze for PushFrameSave
impl RefUnwindSafe for PushFrameSave
impl Send for PushFrameSave
impl Sync for PushFrameSave
impl Unpin for PushFrameSave
impl UnwindSafe for PushFrameSave
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