vtypechoice.optional

Undocumented in source.

Members

Aliases

isOptional
alias isOptional(T) = imported!"std.traits".isInstanceOf!(Optional, T)
Undocumented in source.
isSome
alias isSome(T) = imported!"std.traits".isInstanceOf!(Some, T)
Undocumented in source.

Enums

isNone
eponymoustemplate isNone(T)
Undocumented in source.

Functions

andThen
auto andThen(Optional!T optional)
Undocumented in source. Be warned that the author may not have intended to support it.
andThen
auto andThen(Optional!T optional)
Undocumented in source. Be warned that the author may not have intended to support it.
andThen
auto andThen(Optional!T optional)
Undocumented in source. Be warned that the author may not have intended to support it.
flatten
Optional!T flatten(Optional!(Optional!T) optional)
Undocumented in source. Be warned that the author may not have intended to support it.
handle
auto ref handle(Optional!T optional)
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has(Optional!T optional, T other)
Undocumented in source. Be warned that the author may not have intended to support it.
none
auto none()
Undocumented in source. Be warned that the author may not have intended to support it.
or
ref or(Optional!T optional, Optional!T other)
Undocumented in source. Be warned that the author may not have intended to support it.
orElse
auto ref orElse(Optional!T optional)
Undocumented in source. Be warned that the author may not have intended to support it.
some
auto some(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
unwrap
inout(T) unwrap(Optional!T optional)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

None
struct None
Undocumented in source.
Optional
struct Optional(T)
Undocumented in source.
Some
struct Some(T)
Undocumented in source.

Templates

fmap
template fmap(alias pred)
Undocumented in source.
fmapOr
template fmapOr(alias pred)
Undocumented in source.
fmapOrElse
template fmapOrElse(alias pred, alias orElse)
Undocumented in source.

Meta