Struct cranelift_codegen::MachStackMap
source · pub struct MachStackMap {
pub offset: CodeOffset,
pub offset_end: CodeOffset,
pub stack_map: StackMap,
}
Expand description
Record of stack map metadata: stack offsets containing references.
Fields§
§offset: CodeOffset
The code offset at which this stack map applies.
offset_end: CodeOffset
The code offset just past the “end” of the instruction: that is, the offset of the first byte of the following instruction, or equivalently, the start offset plus the instruction length.
stack_map: StackMap
The stack map itself.
Trait Implementations§
source§impl Clone for MachStackMap
impl Clone for MachStackMap
source§fn clone(&self) -> MachStackMap
fn clone(&self) -> MachStackMap
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 MachStackMap
impl Debug for MachStackMap
source§impl PartialEq for MachStackMap
impl PartialEq for MachStackMap
source§fn eq(&self, other: &MachStackMap) -> bool
fn eq(&self, other: &MachStackMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MachStackMap
Auto Trait Implementations§
impl Freeze for MachStackMap
impl RefUnwindSafe for MachStackMap
impl Send for MachStackMap
impl Sync for MachStackMap
impl Unpin for MachStackMap
impl UnwindSafe for MachStackMap
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
)