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
)