Type Alias slint_interpreter::Rgb8Pixel
pub type Rgb8Pixel = RGB<u8>;
Expand description
Convenience alias for a pixel with three color channels (red, green and blue), each encoded as u8.
Aliased Type§
struct Rgb8Pixel {
pub r: u8,
pub g: u8,
pub b: u8,
}
Fields§
§r: u8
Red
g: u8
Green
b: u8
Blue