Struct lodepng::RGB
[−]
pub struct RGB<ComponentType> { pub r: ComponentType, pub g: ComponentType, pub b: ComponentType, }
Fields
r: ComponentType
g: ComponentType
b: ComponentType
Methods
impl<T> RGB<T> where T: Copy
impl<T> RGB<T>
Trait Implementations
impl<ComponentType> Debug for RGB<ComponentType> where ComponentType: Debug
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<ComponentType> Clone for RGB<ComponentType> where ComponentType: Clone
fn clone(&self) -> RGB<ComponentType>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more