pub enum GradientSpace {
Oklab,
LinearRgb,
Srgb,
}Expand description
Color interpolation space for gradients.
Variants§
Oklab
Perceptual Oklab, matching Color interpolation.
LinearRgb
Straight linear-light RGB and linear alpha.
Srgb
Straight encoded sRGB and linear alpha.
Trait Implementations§
Source§impl Clone for GradientSpace
impl Clone for GradientSpace
impl Copy for GradientSpace
Source§impl Debug for GradientSpace
impl Debug for GradientSpace
Source§impl Default for GradientSpace
impl Default for GradientSpace
impl Eq for GradientSpace
Source§impl PartialEq for GradientSpace
impl PartialEq for GradientSpace
impl StructuralPartialEq for GradientSpace
Auto Trait Implementations§
impl Forget for GradientSpace
impl Freeze for GradientSpace
impl RefUnwindSafe for GradientSpace
impl Send for GradientSpace
impl Sync for GradientSpace
impl Unpin for GradientSpace
impl UnsafeUnpin for GradientSpace
impl UnwindSafe for GradientSpace
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