Struct uorustlibs::hues::Hue
[−]
[src]
pub struct Hue {
pub color_table: [Color16; 32],
pub table_start: Color16,
pub table_end: Color16,
pub name: String,
}An individual Hue
Fields
color_table: [Color16; 32]
32 color values
table_start: Color16
The first hue value in the table
table_end: Color16
The last hue value in the table
name: String
A label for the hue
Methods
impl Hue[src]
pub fn new(
color_table: [Color16; 32],
table_start: Color16,
table_end: Color16,
name: String
) -> Hue[src]
color_table: [Color16; 32],
table_start: Color16,
table_end: Color16,
name: String
) -> Hue
pub fn serialize(&self) -> Vec<u8>[src]
Convert a hue back into its canonical mul representation