Struct tuix_internal::state::style::Color [−][src]
#[repr(packed)]pub struct Color {
pub data: u32,
}
Fields
data: u32
Implementations
Returns color value specified by hue, saturation and lightness. HSL values are all in range [0..1], alpha will be set to 1.0.
Returns color value specified by hue, saturation, lightness and alpha. All values are in range [0..1]
Trait Implementations
Compare two colors (Do not take care of alpha)
Auto Trait Implementations
impl RefUnwindSafe for Color
impl UnwindSafe for Color
Blanket Implementations
Mutably borrows from an owned value. Read more