Struct egui::color::HsvaGamma [−][src]
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
impl Copy for HsvaGamma
[src]
impl StructuralPartialEq for HsvaGamma
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more