Struct avenger::marks::value::RadialGradient
source · pub struct RadialGradient {
pub x0: f32,
pub y0: f32,
pub x1: f32,
pub y1: f32,
pub r0: f32,
pub r1: f32,
pub stops: Vec<GradientStop>,
}Fields§
§x0: f32§y0: f32§x1: f32§y1: f32§r0: f32§r1: f32§stops: Vec<GradientStop>Trait Implementations§
source§impl Clone for RadialGradient
impl Clone for RadialGradient
source§fn clone(&self) -> RadialGradient
fn clone(&self) -> RadialGradient
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 RadialGradient
impl Debug for RadialGradient
source§impl<'de> Deserialize<'de> for RadialGradient
impl<'de> Deserialize<'de> for RadialGradient
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 RadialGradient
impl PartialEq for RadialGradient
source§fn eq(&self, other: &RadialGradient) -> bool
fn eq(&self, other: &RadialGradient) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RadialGradient
impl Serialize for RadialGradient
impl StructuralPartialEq for RadialGradient
Auto Trait Implementations§
impl RefUnwindSafe for RadialGradient
impl Send for RadialGradient
impl Sync for RadialGradient
impl Unpin for RadialGradient
impl UnwindSafe for RadialGradient
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