The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Lab.opBinary
std
experimental
color
lab
Lab
Binary operators.
typeof
(
this
)
opBinary
(typeof(this) rh)
typeof
(
this
)
opBinary
(S rh)
struct
Lab
(F = float, alias whitePoint_ = (WhitePoint!F.D50))
@
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
lab
Lab
aliases
ComponentType
constructors
this
functions
opBinary
opCast
opOpAssign
opUnary
perceptualDistance
manifest constants
whitePoint
variables
L
a
b
Binary operators.