Trait svg::node::Node [] [src]

pub trait Node: 'static + Display {
    fn append<T>(&mut self, T) where Self: Sized, T: Node;
    fn assign<T, U>(&mut self, T, U) where Self: Sized, T: Into<String>, U: Into<Value>;
}

A node.

Required Methods

fn append<T>(&mut self, T) where Self: Sized, T: Node

Append a child node.

fn assign<T, U>(&mut self, T, U) where Self: Sized, T: Into<String>, U: Into<Value>

Assign an attribute.

Implementors