RGBW

Type Alias RGBW 

Source
pub type RGBW<ComponentType, WhiteComponentType = ComponentType> = Rgba<ComponentType, White<WhiteComponentType>>;
Expand description

The RGBW Pixel

This is used for leds, that in addition to RGB leds also contain a white led

Aliased Type§

#[repr(C)]
pub struct RGBW<ComponentType, WhiteComponentType = ComponentType> { pub r: ComponentType, pub g: ComponentType, pub b: ComponentType, pub a: White<WhiteComponentType>, }

Fields§

§r: ComponentType

Red Component

§g: ComponentType

Green Component

§b: ComponentType

Blue Component

§a: White<WhiteComponentType>

Alpha Component