GitHub project page

Struct lodepng::RGB [-]  [+] [src]

pub struct RGB<ComponentType> {
    pub r: ComponentType,
    pub g: ComponentType,
    pub b: ComponentType,
}

RGB<T> with T appropriate for bit depth (u8, u16)

Fields

r
g
b

Trait Implementations

impl<T: String> String for RGB<T>

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl<ComponentType: Copy> Copy for RGB<ComponentType>