Struct svg::node::element::SVG
[−]
[src]
pub struct SVG { /* fields omitted */ }
An svg
element.
Methods
impl SVG
[src]
impl SVG
[src]
fn add<T>(self, node: T) -> Self where
T: Node,
[src]
T: Node,
Append a node.
fn set<T, U>(self, name: T, value: U) -> Self where
T: Into<String>,
U: Into<Value>,
[src]
T: Into<String>,
U: Into<Value>,
Assign an attribute.
Trait Implementations
impl Clone for SVG
[src]
fn clone(&self) -> SVG
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SVG
[src]
impl Node for SVG
[src]
fn append<T>(&mut self, node: T) where
T: Node,
[src]
T: Node,
Append a child node.
fn assign<T, U>(&mut self, name: T, value: U) where
T: Into<String>,
U: Into<Value>,
[src]
T: Into<String>,
U: Into<Value>,
Assign an attribute.