Struct svg::node::element::LinearGradient
source · pub struct LinearGradient { /* private fields */ }
Expand description
A linearGradient
element.
Implementations§
Methods from Deref<Target = Element>§
sourcepub fn get_attributes(&self) -> &Attributes
pub fn get_attributes(&self) -> &Attributes
Return the attributes.
sourcepub fn get_attributes_mut(&mut self) -> &mut Attributes
pub fn get_attributes_mut(&mut self) -> &mut Attributes
Return the attributes as mutable.
sourcepub fn get_children(&self) -> &Children
pub fn get_children(&self) -> &Children
Return the children.
sourcepub fn get_children_mut(&mut self) -> &mut Children
pub fn get_children_mut(&mut self) -> &mut Children
Return the children as mutable.
Trait Implementations§
source§impl Clone for LinearGradient
impl Clone for LinearGradient
source§fn clone(&self) -> LinearGradient
fn clone(&self) -> LinearGradient
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 more