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