Trait wasmer_types::entity::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]
fn reserved_value() -> Self
[src]Create an instance of the reserved value.
fn is_reserved_value(&self) -> bool
[src]
fn is_reserved_value(&self) -> bool
[src]Checks whether value is the reserved one.
Implementors
impl ReservedValue for CustomSectionIndex
[src]
impl ReservedValue for CustomSectionIndex
[src]fn reserved_value() -> CustomSectionIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for DataIndex
[src]
impl ReservedValue for DataIndex
[src]fn reserved_value() -> DataIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for ElemIndex
[src]
impl ReservedValue for ElemIndex
[src]fn reserved_value() -> ElemIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for FunctionIndex
[src]
impl ReservedValue for FunctionIndex
[src]fn reserved_value() -> FunctionIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for GlobalIndex
[src]
impl ReservedValue for GlobalIndex
[src]fn reserved_value() -> GlobalIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for LocalFunctionIndex
[src]
impl ReservedValue for LocalFunctionIndex
[src]fn reserved_value() -> LocalFunctionIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for LocalGlobalIndex
[src]
impl ReservedValue for LocalGlobalIndex
[src]fn reserved_value() -> LocalGlobalIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for LocalMemoryIndex
[src]
impl ReservedValue for LocalMemoryIndex
[src]fn reserved_value() -> LocalMemoryIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for LocalTableIndex
[src]
impl ReservedValue for LocalTableIndex
[src]fn reserved_value() -> LocalTableIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for MemoryIndex
[src]
impl ReservedValue for MemoryIndex
[src]fn reserved_value() -> MemoryIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for SignatureIndex
[src]
impl ReservedValue for SignatureIndex
[src]fn reserved_value() -> SignatureIndex
[src]
fn is_reserved_value(&self) -> bool
[src]
impl ReservedValue for TableIndex
[src]
impl ReservedValue for TableIndex
[src]