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

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.

Loading content...

Implementors

impl ReservedValue for CustomSectionIndex[src]

impl ReservedValue for DataIndex[src]

impl ReservedValue for ElemIndex[src]

impl ReservedValue for FunctionIndex[src]

impl ReservedValue for GlobalIndex[src]

impl ReservedValue for LocalFunctionIndex[src]

impl ReservedValue for LocalGlobalIndex[src]

impl ReservedValue for LocalMemoryIndex[src]

impl ReservedValue for LocalTableIndex[src]

impl ReservedValue for MemoryIndex[src]

impl ReservedValue for SignatureIndex[src]

impl ReservedValue for TableIndex[src]

Loading content...