Trait svg::node::Node

source ·
pub trait Node: 'static + Debug + Display + NodeClone + NodeDefaultHash + Send + Sync {
    fn append<T>(&mut self, _: T)
    where
        Self: Sized,
        T: Into<Box<dyn Node>>
; fn assign<T, U>(&mut self, _: T, _: U)
    where
        Self: Sized,
        T: Into<String>,
        U: Into<Value>
; }
Expand description

A node.

Required Methods§

Append a child node.

Assign an attribute.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Converts to this type from the input type.

Implementors§