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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)