#[repr(u8)]pub enum SkGradientShader_Interpolation_ColorSpace {
Destination,
SRGBLinear,
Lab,
OKLab,
LCH,
OKLCH,
SRGB,
HSL,
HWB,
}
Variants§
Implementations§
source§impl SkGradientShader_Interpolation_ColorSpace
impl SkGradientShader_Interpolation_ColorSpace
pub const LastColorSpace: SkGradientShader_Interpolation_ColorSpace = SkGradientShader_Interpolation_ColorSpace::HWB
Trait Implementations§
source§impl Clone for SkGradientShader_Interpolation_ColorSpace
impl Clone for SkGradientShader_Interpolation_ColorSpace
source§fn clone(&self) -> SkGradientShader_Interpolation_ColorSpace
fn clone(&self) -> SkGradientShader_Interpolation_ColorSpace
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<SkGradientShader_Interpolation_ColorSpace> for SkGradientShader_Interpolation_ColorSpace
impl PartialEq<SkGradientShader_Interpolation_ColorSpace> for SkGradientShader_Interpolation_ColorSpace
source§fn eq(&self, other: &SkGradientShader_Interpolation_ColorSpace) -> bool
fn eq(&self, other: &SkGradientShader_Interpolation_ColorSpace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SkGradientShader_Interpolation_ColorSpace
impl Eq for SkGradientShader_Interpolation_ColorSpace
impl StructuralEq for SkGradientShader_Interpolation_ColorSpace
impl StructuralPartialEq for SkGradientShader_Interpolation_ColorSpace
Auto Trait Implementations§
impl RefUnwindSafe for SkGradientShader_Interpolation_ColorSpace
impl Send for SkGradientShader_Interpolation_ColorSpace
impl Sync for SkGradientShader_Interpolation_ColorSpace
impl Unpin for SkGradientShader_Interpolation_ColorSpace
impl UnwindSafe for SkGradientShader_Interpolation_ColorSpace
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