PackedRGB.opCast

Cast to other color types.

This cast is a convenience which simply forwards the call to convertColor.

struct PackedRGB(string format_, ComponentType_, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@safe pure nothrow @nogc const
Color
opCast
(
Color
)
()
if (
isColor!Color
)
if (
isNumeric!ComponentType_
)

Meta