Struct Option

struct Option(T) ;

Constructors

NameDescription
this (val)

Fields

NameTypeDescription
_val Option.ValT

Properties

NameTypeDescription
empty[get] bool
front[get] inout(Option.ValT)
get[get] inout(Option.ValT)
isNone[get] bool
isSome[get] bool
length[get] size_t
popFront[set] {null}
save[get] Option!(inout(ValT))

Methods

NameDescription
opAssign (val)
opCast ()
setNone ()

Aliases

NameDescription
ValT

Templates

NameDescription
toString