Trait wasmtime_environ::entity::packed_option::ReservedValue[][src]

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

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

Required methods

pub fn reserved_value() -> Self[src][]

Create an instance of the reserved value.

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

Checks whether value is the reserved one.

Implementations on Foreign Types

impl ReservedValue for Inst[src][]

impl ReservedValue for Block[src][]

impl ReservedValue for JumpTable[src][]

impl ReservedValue for Constant[src][]

impl ReservedValue for MachLabel[src][]

impl ReservedValue for SigRef[src][]

impl ReservedValue for FuncRef[src][]

impl ReservedValue for Immediate[src][]

impl ReservedValue for StackSlot[src][]

impl ReservedValue for Value[src][]

impl ReservedValue for Heap[src][]

impl ReservedValue for Table[src][]

impl ReservedValue for GlobalValue[src][]

impl ReservedValue for Loop[src][]

impl ReservedValue for VCodeConstant[src][]

Implementors

impl ReservedValue for ValueLabel[src][+]

impl ReservedValue for DataIndex[src][+]

impl ReservedValue for DefinedFuncIndex[src][+]

impl ReservedValue for DefinedGlobalIndex[src][+]

impl ReservedValue for DefinedMemoryIndex[src][+]

impl ReservedValue for DefinedTableIndex[src][+]

impl ReservedValue for ElemIndex[src][+]

impl ReservedValue for EventIndex[src][+]

impl ReservedValue for FuncIndex[src][+]

impl ReservedValue for GlobalIndex[src][+]

impl ReservedValue for InstanceIndex[src][+]

impl ReservedValue for InstanceTypeIndex[src][+]

impl ReservedValue for MemoryIndex[src][+]

impl ReservedValue for ModuleIndex[src][+]

impl ReservedValue for ModuleTypeIndex[src][+]

impl ReservedValue for SignatureIndex[src][+]

impl ReservedValue for TableIndex[src][+]

impl ReservedValue for TypeIndex[src][+]

impl ReservedValue for FuncIndex

impl ReservedValue for DefinedFuncIndex

impl ReservedValue for DefinedTableIndex

impl ReservedValue for DefinedMemoryIndex

impl ReservedValue for DefinedGlobalIndex

impl ReservedValue for TableIndex

impl ReservedValue for GlobalIndex

impl ReservedValue for MemoryIndex

impl ReservedValue for SignatureIndex

impl ReservedValue for DataIndex

impl ReservedValue for ElemIndex

impl ReservedValue for TypeIndex

impl ReservedValue for ModuleIndex

impl ReservedValue for InstanceIndex

impl ReservedValue for EventIndex

impl ReservedValue for ModuleTypeIndex

impl ReservedValue for InstanceTypeIndex