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<MachStackMap> for MachStackMap
impl PartialEq<MachStackMap> 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 ==
.