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]

[src]

Formats the value using the given formatter.

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

impl<ComponentType: Clone + Copy> Clone for GreyAlpha<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 GreyAlpha<ComponentType>
[src]

impl<ComponentType: PartialEq + Copy> PartialEq for GreyAlpha<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 GreyAlpha<T>
[src]

[src]

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