Struct rgb::RGB
[−]
[src]
pub struct RGB<ComponentType> { pub r: ComponentType, pub g: ComponentType, pub b: ComponentType, }
Fields
r: ComponentType
g: ComponentType
b: ComponentType
Methods
impl<T: Copy> RGB<T>
[src]
impl<T> RGB<T>
[src]
Trait Implementations
impl<ComponentType: Debug> Debug for RGB<ComponentType>
[src]
impl<ComponentType: Clone> Clone for RGB<ComponentType>
[src]
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