pub struct PopFrameRestore {
pub amt: u32,
pub regs: RegSet<XReg>,
}
Expand description
Inverse of push_frame_save
. Restores regs
from the top of
the stack, then runs stack_free32 amt
, then runs pop_frame
.
Fields§
§amt: u32
§regs: RegSet<XReg>
Implementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for PopFrameRestore
impl<'arbitrary> Arbitrary<'arbitrary> for PopFrameRestore
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 PopFrameRestore
impl Clone for PopFrameRestore
Source§fn clone(&self) -> PopFrameRestore
fn clone(&self) -> PopFrameRestore
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 PopFrameRestore
impl Debug for PopFrameRestore
Source§impl Encode for PopFrameRestore
Available on crate feature encode
only.
impl Encode for PopFrameRestore
Available on crate feature
encode
only.Source§impl From<PopFrameRestore> for Op
impl From<PopFrameRestore> for Op
Source§fn from(op: PopFrameRestore) -> Self
fn from(op: PopFrameRestore) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PopFrameRestore
impl PartialEq for PopFrameRestore
impl Copy for PopFrameRestore
impl Eq for PopFrameRestore
impl StructuralPartialEq for PopFrameRestore
Auto Trait Implementations§
impl Freeze for PopFrameRestore
impl RefUnwindSafe for PopFrameRestore
impl Send for PopFrameRestore
impl Sync for PopFrameRestore
impl Unpin for PopFrameRestore
impl UnwindSafe for PopFrameRestore
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