The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
RGB.opOpAssign
std
experimental
color
rgb
RGB
Binary assignment operators.
typeof
(
this
)
opOpAssign
(typeof(this) rh)
struct
RGB
(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
ref
typeof
(this)
opOpAssign
(
string
op
)
(
typeof
(this)
rh
)
if
(
op
== "+" ||
op
== "-"
||
op
== "*"
)
if
(
isNumeric
!
ComponentType_
)
typeof
(
this
)
opOpAssign
(S rh)
Meta
Source
See Implementation
std
experimental
color
rgb
RGB
aliases
ComponentType
constructors
this
functions
opBinary
opCast
opOpAssign
opUnary
properties
tristimulus
tristimulusWithAlpha
variables
colorSpace
colorSpaceDesc
components
hasAlpha
hasComponent
linear
Binary assignment operators.