pub struct SVG { /* private fields */ }Expand description
An svg element.
Implementations§
Methods from Deref<Target = Element>§
sourcepub fn get_attributes(&self) -> &HashMap<String, Value>
pub fn get_attributes(&self) -> &HashMap<String, Value>
Return the attributes.
sourcepub fn get_attributes_mut(&mut self) -> &mut HashMap<String, Value>
pub fn get_attributes_mut(&mut self) -> &mut HashMap<String, Value>
Return the attributes as mutable.
sourcepub fn get_children(&self) -> &Vec<Box<dyn Node>>
pub fn get_children(&self) -> &Vec<Box<dyn Node>>
Return the children.
sourcepub fn get_children_mut(&mut self) -> &mut Vec<Box<dyn Node>>
pub fn get_children_mut(&mut self) -> &mut Vec<Box<dyn Node>>
Return the children as mutable.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SVG
impl Send for SVG
impl Sync for SVG
impl Unpin for SVG
impl !UnwindSafe for SVG
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