pub struct GradientCacheKey {
pub stops: ColorStops,
pub interpolation_cs: ColorSpaceTag,
pub hue_direction: HueDirection,
}Expand description
Cache key for gradient color ramps based on color-affecting properties.
Fields§
§stops: ColorStopsThe color stops (offsets + colors).
interpolation_cs: ColorSpaceTagColor space used for interpolation.
hue_direction: HueDirectionHue direction used for interpolation.
Trait Implementations§
Source§impl BitEq for GradientCacheKey
impl BitEq for GradientCacheKey
Source§impl BitHash for GradientCacheKey
impl BitHash for GradientCacheKey
Source§impl Clone for GradientCacheKey
impl Clone for GradientCacheKey
Source§fn clone(&self) -> GradientCacheKey
fn clone(&self) -> GradientCacheKey
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GradientCacheKey
impl RefUnwindSafe for GradientCacheKey
impl Send for GradientCacheKey
impl Sync for GradientCacheKey
impl Unpin for GradientCacheKey
impl UnwindSafe for GradientCacheKey
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