Struct lodepng::Grey
[−]
[src]
pub struct Grey<ComponentType: Copy>(pub ComponentType);
Opaque greyscale pixel (acces with px.0
)
Trait Implementations
impl<ComponentType: Debug + Copy> Debug for Grey<ComponentType>
[src]
impl<ComponentType: Copy + Copy> Copy for Grey<ComponentType>
[src]
impl<ComponentType: Clone + Copy> Clone for Grey<ComponentType>
[src]
fn clone(&self) -> Grey<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 Grey<ComponentType>
[src]
impl<ComponentType: PartialEq + Copy> PartialEq for Grey<ComponentType>
[src]
fn eq(&self, __arg_0: &Grey<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: &Grey<ComponentType>) -> bool
[src]
This method tests for !=
.