Struct cranelift_codegen::ir::entities::JumpTable [−][src]
pub struct JumpTable(_);
Expand description
An opaque reference to a jump table.
JumpTable
s are used for indirect branching and are specialized for dense,
0-based jump offsets. If you want a jump table which doesn’t start at 0,
or is not contiguous, consider using a Switch
instead.
JumpTable
are used with br_table
.
JumpTable
s can be created with
create_jump_table
.
While the order is stable, it is arbitrary.
Implementations
Create a new jump table reference from its number.
This method is for use by the parser.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Create an instance of the reserved value.
Checks whether value is the reserved one.
Auto Trait Implementations
impl RefUnwindSafe for JumpTable
impl UnwindSafe for JumpTable
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.