The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
XYZ.opUnary
std
experimental
color
xyz
XYZ
Unary operators.
struct
XYZ
(F = float)
@
safe
pure nothrow @
nogc
const
typeof
(this)
opUnary
(
string
op
)
(
)
if
(
op
== "+" ||
op
== "-"
||
(
op
== "~" &&
is
(
ComponentType
==
NormalizedInt
!
U
,
U
)
)
)
if
(
isFloatingPoint
!
F
)
Meta
Source
See Implementation
std
experimental
color
xyz
XYZ
aliases
ComponentType
constructors
this
functions
opBinary
opCast
opOpAssign
opUnary
properties
tristimulus
variables
X
Y
Z
Unary operators.