OptionT

Trait OptionT 

Source
pub trait OptionT: Sealed {
    const IS_SOME: bool;
}
Expand description

Type-level enum for Option.

Required Associated Constants§

Source

const IS_SOME: bool

Is this Some or None ?

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§