Enum cranelift_codegen::machinst::buffer::StackMapExtent
source · [−]pub enum StackMapExtent {
UpcomingBytes(CodeOffset),
StartedAtOffset(CodeOffset),
}
Expand description
A stack map extent, when creating a stack map.
Variants
UpcomingBytes(CodeOffset)
The stack map starts at this instruction, and ends after the number of upcoming bytes (note: this is a code offset diff).
StartedAtOffset(CodeOffset)
The stack map started at the given offset and ends at the current one. This helps architectures where the instruction size has not a fixed length.
Auto Trait Implementations
impl RefUnwindSafe for StackMapExtent
impl Send for StackMapExtent
impl Sync for StackMapExtent
impl Unpin for StackMapExtent
impl UnwindSafe for StackMapExtent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more