pub enum GradientSpread {
Pad,
Reflect,
Repeat,
}
Variants§
Trait Implementations§
Source§impl Clone for GradientSpread
impl Clone for GradientSpread
Source§fn clone(&self) -> GradientSpread
fn clone(&self) -> GradientSpread
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 GradientSpread
impl Debug for GradientSpread
Source§impl<'de> Deserialize<'de> for GradientSpread
impl<'de> Deserialize<'de> for GradientSpread
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 GradientSpread
impl Hash for GradientSpread
Source§impl Ord for GradientSpread
impl Ord for GradientSpread
Source§fn cmp(&self, other: &GradientSpread) -> Ordering
fn cmp(&self, other: &GradientSpread) -> 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 GradientSpread
impl PartialEq for GradientSpread
Source§impl PartialOrd for GradientSpread
impl PartialOrd for GradientSpread
Source§impl Serialize for GradientSpread
impl Serialize for GradientSpread
impl Copy for GradientSpread
impl Eq for GradientSpread
impl StructuralPartialEq for GradientSpread
Auto Trait Implementations§
impl Freeze for GradientSpread
impl RefUnwindSafe for GradientSpread
impl Send for GradientSpread
impl Sync for GradientSpread
impl Unpin for GradientSpread
impl UnwindSafe for GradientSpread
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