Struct svg::node::Text [] [src]

pub struct Text {
    // some fields omitted
}

A text node.

Methods

impl Text
[src]

fn new<T>(content: T) -> Self where T: Into<String>

Create a node.

Trait Implementations

impl Display for Text
[src]

fn fmt(&self, formatter: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Node for Text
[src]

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.