pub struct MorphGradient {
pub spread: GradientSpread,
pub color_space: ColorSpace,
pub colors: Vec<MorphColorStop>,
}
Fields§
§spread: GradientSpread
§color_space: ColorSpace
§colors: Vec<MorphColorStop>
Trait Implementations§
Source§impl Clone for MorphGradient
impl Clone for MorphGradient
Source§fn clone(&self) -> MorphGradient
fn clone(&self) -> MorphGradient
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 moreSource§impl Debug for MorphGradient
impl Debug for MorphGradient
Source§impl<'de> Deserialize<'de> for MorphGradient
impl<'de> Deserialize<'de> for MorphGradient
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MorphGradient
impl Hash for MorphGradient
Source§impl Ord for MorphGradient
impl Ord for MorphGradient
Source§fn cmp(&self, other: &MorphGradient) -> Ordering
fn cmp(&self, other: &MorphGradient) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MorphGradient
impl PartialEq for MorphGradient
Source§impl PartialOrd for MorphGradient
impl PartialOrd for MorphGradient
Source§impl Serialize for MorphGradient
impl Serialize for MorphGradient
impl Eq for MorphGradient
impl StructuralPartialEq for MorphGradient
Auto Trait Implementations§
impl Freeze for MorphGradient
impl RefUnwindSafe for MorphGradient
impl Send for MorphGradient
impl Sync for MorphGradient
impl Unpin for MorphGradient
impl UnwindSafe for MorphGradient
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