Trait wasmtime_environ::packed_option::ReservedValue

source ·
pub trait ReservedValue {
    // Required methods
    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§

source

fn reserved_value() -> Self

Create an instance of the reserved value.

source

fn is_reserved_value(&self) -> bool

Checks whether value is the reserved one.

Object Safety§

This trait is not object safe.

Implementors§