dmd ~master (2023-11-01T14:17:50Z)
Dub
Repo
Duration.opUnary
core
time
Duration
Returns the negation of this
Duration
.
struct
Duration
@
safe
pure const nothrow @
nogc
Duration
opUnary
(
string
op
)
(
)
if
(
op
== "-"
)
Meta
Source
See Implementation
core
time
Duration
functions
opBinary
opBinaryRight
opCast
opCmp
opOpAssign
opUnary
toString
properties
isNegative
max
min
total
zero
templates
split
Returns the negation of this Duration.