pub enum MorphFillStyle {
Bitmap(MorphBitmap),
FocalGradient(MorphFocalGradient),
LinearGradient(MorphLinearGradient),
RadialGradient(MorphRadialGradient),
Solid(MorphSolid),
}
Variants§
Bitmap(MorphBitmap)
FocalGradient(MorphFocalGradient)
LinearGradient(MorphLinearGradient)
RadialGradient(MorphRadialGradient)
Solid(MorphSolid)
Trait Implementations§
Source§impl Clone for MorphFillStyle
impl Clone for MorphFillStyle
Source§fn clone(&self) -> MorphFillStyle
fn clone(&self) -> MorphFillStyle
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 MorphFillStyle
impl Debug for MorphFillStyle
Source§impl<'de> Deserialize<'de> for MorphFillStyle
impl<'de> Deserialize<'de> for MorphFillStyle
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 MorphFillStyle
impl Hash for MorphFillStyle
Source§impl Ord for MorphFillStyle
impl Ord for MorphFillStyle
Source§fn cmp(&self, other: &MorphFillStyle) -> Ordering
fn cmp(&self, other: &MorphFillStyle) -> 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 MorphFillStyle
impl PartialEq for MorphFillStyle
Source§impl PartialOrd for MorphFillStyle
impl PartialOrd for MorphFillStyle
Source§impl Serialize for MorphFillStyle
impl Serialize for MorphFillStyle
impl Eq for MorphFillStyle
impl StructuralPartialEq for MorphFillStyle
Auto Trait Implementations§
impl Freeze for MorphFillStyle
impl RefUnwindSafe for MorphFillStyle
impl Send for MorphFillStyle
impl Sync for MorphFillStyle
impl Unpin for MorphFillStyle
impl UnwindSafe for MorphFillStyle
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