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 Clone for HsvaGamma
[src]
impl Copy for HsvaGamma
[src]
impl Debug for HsvaGamma
[src]
impl Default for HsvaGamma
[src]
impl From<Color32> for HsvaGamma
[src]
impl From<Hsva> for HsvaGamma
[src]
impl From<HsvaGamma> for Color32
[src]
impl From<HsvaGamma> for Rgba
[src]
impl From<HsvaGamma> for Hsva
[src]
impl From<Rgba> for HsvaGamma
[src]
impl PartialEq<HsvaGamma> 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,