TickDuration.opCast

Returns a Duration with the same number of hnsecs as this TickDuration. Note that the conventional way to convert between TickDuration and Duration is using std.conv.to, e.g.: tickDuration.to!Duration()

struct TickDuration
deprecated @safe const pure nothrow @nogc
opCast
(
T
)
()
if (
is(immutable T == immutable Duration)
)

Meta