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: Display> Display for RGB<T>

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

Derived Implementations

impl<ComponentType: Debug> Debug for RGB<ComponentType> where ComponentType: Debug, ComponentType: Debug, ComponentType: Debug

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

impl<ComponentType: Clone> Clone for RGB<ComponentType> where ComponentType: Clone, ComponentType: Clone, ComponentType: Clone

fn clone(&self) -> RGB<ComponentType>

fn clone_from(&mut self, source: &Self)

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