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]

[src]

Formats the value using the given formatter.

impl<ComponentType: Copy + Copy> Copy for Grey<ComponentType>
[src]

impl<ComponentType: Clone + Copy> Clone for Grey<ComponentType>
[src]

[src]

Returns a copy of the value. Read more

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]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Default + Copy> Default for Grey<T>
[src]

[src]

Returns the "default value" for a type. Read more