Skip to main content

Opt

Type Alias Opt 

Source
pub type Opt<P = u32, O = Operand, S = u32> = Option<Datum<P, O, S>>;
Expand description

An option that may be absent.

Aliased Type§

pub enum Opt<P = u32, O = Operand, S = u32> {
    None,
    Some(Datum<P, O, S>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Datum<P, O, S>)

Some value of type T.