pub type FastLinearGradientCacheKey = FastLinearGradientTask;

Aliased Type§

struct FastLinearGradientCacheKey {
    pub color0: ColorU,
    pub color1: ColorU,
    pub orientation: LineOrientation,
}

Fields§

§color0: ColorU§color1: ColorU§orientation: LineOrientation

Implementations§

Trait Implementations§

source§

impl Clone for FastLinearGradientTask

source§

fn clone(&self) -> FastLinearGradientTask

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FastLinearGradientTask

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for FastLinearGradientTask

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl MallocSizeOf for FastLinearGradientTask

source§

fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself.
source§

impl PartialEq<FastLinearGradientTask> for FastLinearGradientTask

source§

fn eq(&self, other: &FastLinearGradientTask) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for FastLinearGradientTask

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for FastLinearGradientTask

source§

impl Eq for FastLinearGradientTask

source§

impl StructuralEq for FastLinearGradientTask

source§

impl StructuralPartialEq for FastLinearGradientTask