Trait svg::node::Node
[−]
[src]
pub trait Node: 'static + Debug + Display + NodeClone { 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,
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>,
Self: Sized,
T: Into<String>,
U: Into<Value>,
Assign an attribute.
Implementors
impl Node for svg::node::Text
impl Node for Animate
impl Node for AnimateColor
impl Node for AnimateMotion
impl Node for AnimateTransform
impl Node for Circle
impl Node for ClipPath
impl Node for Definitions
impl Node for Description
impl Node for Ellipse
impl Node for Filter
impl Node for Group
impl Node for Image
impl Node for Line
impl Node for LinearGradient
impl Node for Link
impl Node for Marker
impl Node for Mask
impl Node for MotionPath
impl Node for Path
impl Node for Pattern
impl Node for Polygon
impl Node for Polyline
impl Node for RadialGradient
impl Node for Rectangle
impl Node for Stop
impl Node for Symbol
impl Node for svg::node::element::Text
impl Node for TextPath
impl Node for Title
impl Node for Use
impl Node for SVG
impl Node for Script
impl Node for Style