Duration.opCast

TickDuration is Deprecated

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

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

Meta