pub struct ColorPaletteEntry { /* fields omitted */ }
Expand description
The id of this entry is the same as its index in the palette.
Get the RGBA components as an array. Most color libraries allow you to
build an instance of their color type from such an array.
The red channel of the color.
The green channel of the color.
The blue channel of the color.
Alpha value of this color (0 = fully transparent, 255 = fully opaque).
The color name. Seems to be usually empty in practice.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.