Type Alias slint::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 Component

§g: u8

Green Component

§b: u8

Blue Component