pub struct LinearGradientDef {
pub id: String,
pub x1: String,
pub y1: String,
pub x2: String,
pub y2: String,
pub stops: Vec<GradientStop>,
pub units: String,
}Fields§
§id: String§x1: String§y1: String§x2: String§y2: String§stops: Vec<GradientStop>§units: StringTrait Implementations§
Source§impl Clone for LinearGradientDef
impl Clone for LinearGradientDef
Source§fn clone(&self) -> LinearGradientDef
fn clone(&self) -> LinearGradientDef
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 LinearGradientDef
impl Debug for LinearGradientDef
Source§impl<'de> Deserialize<'de> for LinearGradientDef
impl<'de> Deserialize<'de> for LinearGradientDef
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 LinearGradientDef
impl PartialEq for LinearGradientDef
Source§fn eq(&self, other: &LinearGradientDef) -> bool
fn eq(&self, other: &LinearGradientDef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LinearGradientDef
impl Serialize for LinearGradientDef
impl StructuralPartialEq for LinearGradientDef
Auto Trait Implementations§
impl Freeze for LinearGradientDef
impl RefUnwindSafe for LinearGradientDef
impl Send for LinearGradientDef
impl Sync for LinearGradientDef
impl Unpin for LinearGradientDef
impl UnsafeUnpin for LinearGradientDef
impl UnwindSafe for LinearGradientDef
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