Struct usvg_tree::RadialGradient
source · pub struct RadialGradient {
pub base: BaseGradient,
pub cx: f32,
pub cy: f32,
pub r: PositiveF32,
pub fx: f32,
pub fy: f32,
}
Expand description
A radial gradient.
radialGradient
element in SVG.
Fields§
§base: BaseGradient
Base gradient data.
cx: f32
§cy: f32
§r: PositiveF32
§fx: f32
§fy: f32
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
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