gfx.core.typecons

Undocumented in source.

Members

Enums

none
eponymoustemplate none(T)

symbolic value that constructs an Option in none state

Functions

ifNone
auto ifNone(OptT opt)

execute fun without parameter if option isNone

ifSome
auto ifSome(OptT opt)

execute fun with option value as parameter if option isSome

option
auto option(R input)
Undocumented in source. Be warned that the author may not have intended to support it.
some
auto some(T val)

constructs an option from a value

Structs

Option
struct Option(T)
Undocumented in source.

Templates

isNullAssignable
template isNullAssignable(T)

template that resolves to true if an object of type T can be assigned to null

isOption
template isOption(T)
Undocumented in source.

Meta