Trait cranelift_codegen::packed_option::ReservedValue[][src]

pub trait ReservedValue {
    fn reserved_value() -> Self;
fn is_reserved_value(&self) -> bool; }
Expand description

Types that have a reserved value which can’t be created any other way.

Required methods

fn reserved_value() -> Self[src]

Create an instance of the reserved value.

fn is_reserved_value(&self) -> bool[src]

Checks whether value is the reserved one.

Implementors

impl ReservedValue for Block[src]

impl ReservedValue for Constant[src]

impl ReservedValue for FuncRef[src]

impl ReservedValue for GlobalValue[src]

impl ReservedValue for Heap[src]

impl ReservedValue for Immediate[src]

impl ReservedValue for Inst[src]

impl ReservedValue for JumpTable[src]

impl ReservedValue for SigRef[src]

impl ReservedValue for StackSlot[src]

impl ReservedValue for Table[src]

impl ReservedValue for Value[src]

impl ReservedValue for ValueLabel[src]

impl ReservedValue for Loop[src]

impl ReservedValue for MachLabel[src]

impl ReservedValue for VCodeConstant[src]