Struct exoquant::ColorCount [] [src]

pub struct ColorCount {
    pub color: Colorf,
    pub count: usize,
}

A single float color in quantization color space with the number of times it occurs in the input image data.

This type is used to hold histogram data during the actual quantization process. It's mostly used internally.

Fields

color
count

Trait Implementations

Derived Implementations

impl Clone for ColorCount
[src]

fn clone(&self) -> ColorCount

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