Struct skia_safe::gradient_shader::Interpolation
source · #[repr(C)]pub struct Interpolation {
pub in_premul: InPremul,
pub color_space: ColorSpace,
pub hue_method: HueMethod,
}
Fields§
§in_premul: InPremul
§color_space: ColorSpace
§hue_method: HueMethod
Trait Implementations§
source§impl Clone for Interpolation
impl Clone for Interpolation
source§fn clone(&self) -> Interpolation
fn clone(&self) -> Interpolation
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 Debug for Interpolation
impl Debug for Interpolation
source§impl From<Flags> for Interpolation
impl From<Flags> for Interpolation
source§impl Hash for Interpolation
impl Hash for Interpolation
source§impl PartialEq<Interpolation> for Interpolation
impl PartialEq<Interpolation> for Interpolation
source§fn eq(&self, other: &Interpolation) -> bool
fn eq(&self, other: &Interpolation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Interpolation
impl Eq for Interpolation
impl StructuralEq for Interpolation
impl StructuralPartialEq for Interpolation
Auto Trait Implementations§
impl RefUnwindSafe for Interpolation
impl Send for Interpolation
impl Sync for Interpolation
impl Unpin for Interpolation
impl UnwindSafe for Interpolation
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