phobos-next ~master (2022-05-18T09:58:38.2169964)
Dub
Repo
NotNull.opAssign
nxt
notnull
NotNull
Disable null assignment.
typeof
(
this
)
opAssign
(NotNull!U rhs)
typeof
(
this
)
opAssign
(typeof(null) )
struct
NotNull
(T)
@
disable
typeof
(this)
opAssign
(
typeof
(null)
)
if
(
is
(
T
== class) ||
is
(
T
== interface)
||
is
(
T
==
U
*,
U
) &&
__traits(
isScalar
,
T
)
)
Meta
Source
See Implementation
nxt
notnull
NotNull
constructors
this
functions
opAssign
opCast
properties
_valueHelper
get
Disable null assignment.