svg::node
pub struct Text { /* fields omitted */ }
A text node.
impl Text
fn new<T>(content: T) -> Self where T: Into<String>
Create a node.
impl Display for Text
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter.
impl Node for Text
fn append<T>(&mut self, _: T) where T: Node
Append a child node.
fn assign<T, U>(&mut self, _: T, _: U) where T: Into<String>, U: Into<Value>
Assign an attribute.