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]

Create an instance of the reserved value.

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

Checks whether value is the reserved one.

Implementors