Function Option.opAssign
Assigns a new value.
ref typeof(this) opAssign(U)
(
ref U that
)
if (is(U : T) && !is(U == Option));
ref typeof(this) opAssign(U)
(
U that
)
if (is(U == T));
ref typeof(this) opAssign(U)
(
ref U that
)
if (is(U == Option));
ref typeof(this) opAssign(U)
(
U that
)
if (is(U == Option));
Parameters
Name | Description |
---|---|
U | Type of the new value. |
that | New value. |
Returns
this.