Struct lodepng::RGBA
[−]
pub struct RGBA<ComponentType> { pub r: ComponentType, pub g: ComponentType, pub b: ComponentType, pub a: ComponentType, }
Fields
r: ComponentType
g: ComponentType
b: ComponentType
a: ComponentType
Methods
impl<T> RGBA<T> where T: Clone
Trait Implementations
impl<ComponentType> PartialOrd<RGBA<ComponentType>> for RGBA<ComponentType> where ComponentType: PartialOrd<ComponentType>
fn partial_cmp(&self, __arg_0: &RGBA<ComponentType>) -> Option<Ordering>
fn lt(&self, __arg_0: &RGBA<ComponentType>) -> bool
fn le(&self, __arg_0: &RGBA<ComponentType>) -> bool
fn gt(&self, __arg_0: &RGBA<ComponentType>) -> bool
fn ge(&self, __arg_0: &RGBA<ComponentType>) -> bool
impl<ComponentType> Ord for RGBA<ComponentType> where ComponentType: Ord
impl<ComponentType> PartialEq<RGBA<ComponentType>> for RGBA<ComponentType> where ComponentType: PartialEq<ComponentType>
fn eq(&self, __arg_0: &RGBA<ComponentType>) -> bool
fn ne(&self, __arg_0: &RGBA<ComponentType>) -> bool
impl<ComponentType> Eq for RGBA<ComponentType> where ComponentType: Eq
impl<ComponentType> Debug for RGBA<ComponentType> where ComponentType: Debug
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<ComponentType> Clone for RGBA<ComponentType> where ComponentType: Clone
fn clone(&self) -> RGBA<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