Enum cranelift_codegen::machinst::buffer::StackMapExtent[][src]

pub enum StackMapExtent {
    UpcomingBytes(CodeOffset),
    StartedAtOffset(CodeOffset),
}

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.