pub struct UserStackMapEntry {
pub ty: Type,
pub slot: StackSlot,
pub offset: u32,
}
Expand description
A stack map entry describes a single GC-managed value and its location on the stack.
A stack map entry is associated with a particular instruction, and that instruction must be a safepoint. The GC-managed value must be stored in the described location across this entry’s instruction.
Fields§
§ty: Type
The type of the value stored in this stack map entry.
slot: StackSlot
The stack slot that this stack map entry is within.
offset: u32
The offset within the stack slot where this entry’s value can be found.
Trait Implementations§
source§impl Clone for UserStackMapEntry
impl Clone for UserStackMapEntry
source§fn clone(&self) -> UserStackMapEntry
fn clone(&self) -> UserStackMapEntry
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 UserStackMapEntry
impl Debug for UserStackMapEntry
source§impl Hash for UserStackMapEntry
impl Hash for UserStackMapEntry
source§impl PartialEq for UserStackMapEntry
impl PartialEq for UserStackMapEntry
impl StructuralPartialEq for UserStackMapEntry
Auto Trait Implementations§
impl Freeze for UserStackMapEntry
impl RefUnwindSafe for UserStackMapEntry
impl Send for UserStackMapEntry
impl Sync for UserStackMapEntry
impl Unpin for UserStackMapEntry
impl UnwindSafe for UserStackMapEntry
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
)