gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
unsafeCast.unsafeCast
gfx
core
util
unsafeCast
Undocumented in source. Be warned that the author may not have intended to support it.
U
unsafeCast
(const(T) obj)
template
unsafeCast
(U)
@
system
U
unsafeCast
(
T
)
(
const
(
T
)
obj
)
if
(
(
is
(
T
== class) ||
is
(
T
== interface)
)
&&
is
(
U
:
const
(
T
))
)
if
(
is
(
U
== const)
)
template
unsafeCast
(U)
Meta
Source
See Implementation
gfx
core
util
unsafeCast
functions
unsafeCast