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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.