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: ComponentTypeRed Component
g: ComponentTypeGreen Component
b: ComponentTypeBlue Component
a: White<WhiteComponentType>Alpha Component