Struct svg::node::element::Group
[−]
[src]
pub struct Group { /* fields omitted */ }
A g
element.
Methods
impl Group
[src]
impl Group
[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 Node for Group
[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.