Struct lodepng::GreyAlpha
[−]
[src]
pub struct GreyAlpha<ComponentType: Copy>(pub ComponentType, pub ComponentType);
Greyscale pixel with alpha (px.1
is alpha)
Trait Implementations
impl<ComponentType: Debug + Copy> Debug for GreyAlpha<ComponentType>
[src]
impl<ComponentType: Copy + Copy> Copy for GreyAlpha<ComponentType>
[src]
impl<ComponentType: Clone + Copy> Clone for GreyAlpha<ComponentType>
[src]
fn clone(&self) -> GreyAlpha<ComponentType>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<ComponentType: Eq + Copy> Eq for GreyAlpha<ComponentType>
[src]
impl<ComponentType: PartialEq + Copy> PartialEq for GreyAlpha<ComponentType>
[src]
fn eq(&self, __arg_0: &GreyAlpha<ComponentType>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GreyAlpha<ComponentType>) -> bool
[src]
This method tests for !=
.