pub struct HsvaGamma {
pub h: f32,
pub s: f32,
pub v: f32,
pub a: f32,
}
Expand description
Like Hsva but with the v
value (brightness) being gamma corrected
so that it is somewhat perceptually even.
Fields§
§h: f32
hue 0-1
s: f32
saturation 0-1
v: f32
value 0-1, in gamma-space (~perceptually even)
a: f32
alpha 0-1. A negative value signifies an additive color (and alpha is ignored).
Trait Implementations§
source§impl PartialEq for HsvaGamma
impl PartialEq for HsvaGamma
impl Copy for HsvaGamma
impl StructuralPartialEq for HsvaGamma
Auto Trait Implementations§
impl RefUnwindSafe for HsvaGamma
impl Send for HsvaGamma
impl Sync for HsvaGamma
impl Unpin for HsvaGamma
impl UnwindSafe for HsvaGamma
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more