The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
XYZ.opBinary
std
experimental
color
xyz
XYZ
Binary operators.
typeof
(
this
)
opBinary
(typeof(this) rh)
typeof
(
this
)
opBinary
(S rh)
struct
XYZ
(F = float)
@
safe
pure nothrow @
nogc
const
typeof
(this)
opBinary
(
string
op
S
)
(
S
rh
)
if
(
isColorScalarType
!
S
&&
(
op
== "*" ||
op
== "/"
||
op
== "%"
||
op
== "^^"
)
)
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
Binary operators.