pub enum GradientValue {
Hex(Vec<String>),
Int(Vec<i32>),
}Variants§
Trait Implementations§
Source§impl Clone for GradientValue
impl Clone for GradientValue
Source§fn clone(&self) -> GradientValue
fn clone(&self) -> GradientValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GradientValue
impl Debug for GradientValue
Source§impl<'de> Deserialize<'de> for GradientValue
impl<'de> Deserialize<'de> for GradientValue
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 PartialEq for GradientValue
impl PartialEq for GradientValue
Source§fn eq(&self, other: &GradientValue) -> bool
fn eq(&self, other: &GradientValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GradientValue
impl Serialize for GradientValue
impl StructuralPartialEq for GradientValue
Auto Trait Implementations§
impl Freeze for GradientValue
impl RefUnwindSafe for GradientValue
impl Send for GradientValue
impl Sync for GradientValue
impl Unpin for GradientValue
impl UnsafeUnpin for GradientValue
impl UnwindSafe for GradientValue
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