The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
PackedRGB.hasComponent
std
experimental
color
packedrgb
PackedRGB
Test if a particular component is present.
struct
PackedRGB
(string format_, ComponentType_, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
enum
bool
hasComponent
(
char
c
)
;
Meta
Source
See Implementation
std
experimental
color
packedrgb
PackedRGB
aliases
UnpackedColor
constructors
this
functions
opCast
manifest constants
BitsPerElement
format
properties
unpacked
variables
colorSpace
colorSpaceDesc
componentInfo
components
data
hasAlpha
hasComponent
hasSharedExponent
sharedExponent
Test if a particular component is present.