Struct svg::node::element::MotionPath
[−]
[src]
pub struct MotionPath { /* fields omitted */ }
An [mpath
][1] element.
[1]: https://www.w3.org/TR/SVG/animate.html#MPathElement
Methods
impl MotionPath
[src]
impl MotionPath
impl MotionPath
[src]
impl MotionPath
pub fn add<T>(self, node: T) -> Self where
T: Node,
[src]
pub fn add<T>(self, node: T) -> Self where
T: Node,
Append a node.
pub fn set<T, U>(self, name: T, value: U) -> Self where
T: Into<String>,
U: Into<Value>,
[src]
pub fn set<T, U>(self, name: T, value: U) -> Self where
T: Into<String>,
U: Into<Value>,
Assign an attribute.
Trait Implementations
impl Clone for MotionPath
[src]
impl Clone for MotionPath
fn clone(&self) -> MotionPath
[src]
fn clone(&self) -> MotionPath
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MotionPath
[src]
impl Debug for MotionPath
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Node for MotionPath
[src]
impl Node for MotionPath
fn append<T>(&mut self, node: T) where
T: Node,
[src]
fn append<T>(&mut self, node: T) where
T: Node,
Append a child node.
fn assign<T, U>(&mut self, name: T, value: U) where
T: Into<String>,
U: Into<Value>,
[src]
fn assign<T, U>(&mut self, name: T, value: U) where
T: Into<String>,
U: Into<Value>,
Assign an attribute.
impl Display for MotionPath
[src]
impl Display for MotionPath
Auto Trait Implementations
impl !Send for MotionPath
impl !Send for MotionPath
impl !Sync for MotionPath
impl !Sync for MotionPath