Struct cranelift_codegen::ir::UserStackMap
source · pub struct UserStackMap { /* private fields */ }
Expand description
A compiled stack map, describing the location of many GC-managed values.
A stack map is associated with a particular instruction, and that instruction is a safepoint.
Implementations§
source§impl UserStackMap
impl UserStackMap
sourcepub fn new(
entries: &[UserStackMapEntry],
stack_slot_offsets: &PrimaryMap<StackSlot, u32>,
) -> Self
pub fn new( entries: &[UserStackMapEntry], stack_slot_offsets: &PrimaryMap<StackSlot, u32>, ) -> Self
Coalesce the given entries into a new UserStackMap
.
Trait Implementations§
source§impl Clone for UserStackMap
impl Clone for UserStackMap
source§fn clone(&self) -> UserStackMap
fn clone(&self) -> UserStackMap
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 UserStackMap
impl Debug for UserStackMap
source§impl PartialEq for UserStackMap
impl PartialEq for UserStackMap
impl StructuralPartialEq for UserStackMap
Auto Trait Implementations§
impl Freeze for UserStackMap
impl RefUnwindSafe for UserStackMap
impl Send for UserStackMap
impl Sync for UserStackMap
impl Unpin for UserStackMap
impl UnwindSafe for UserStackMap
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: 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
)