Struct Option
struct Option(T)
;
Constructors
Name | Description |
---|---|
this
(val)
|
Fields
Name | Type | Description |
---|---|---|
_val
|
Option |
Properties
Name | Type | Description |
---|---|---|
empty [get]
|
bool | |
front [get]
|
inout(Option | |
get [get]
|
inout(Option | |
isNone [get]
|
bool | |
isSome [get]
|
bool | |
length [get]
|
size_t | |
popFront [set]
|
{null} | |
save [get]
|
Option!(inout(ValT)) |
Methods
Name | Description |
---|---|
opAssign
(val)
|
|
opCast
()
|
|
setNone
()
|
Aliases
Name | Description |
---|---|
ValT
|
Templates
Name | Description |
---|---|
toString
|