Struct svg::node::element::Element[][src]

pub struct Element { /* fields omitted */ }

An element.

Implementations

impl Element[src]

pub fn new<T>(name: T) -> Self where
    T: Into<String>, 
[src]

pub fn get_name(&self) -> &String[src]

pub fn get_attributes(&self) -> &Attributes[src]

pub fn get_children(&self) -> &Children[src]

Trait Implementations

impl Clone for Element[src]

impl Debug for Element[src]

impl Display for Element[src]

impl Into<Element> for Animate[src]

impl Into<Element> for AnimateColor[src]

impl Into<Element> for ForeignObject[src]

impl Into<Element> for Group[src]

impl Into<Element> for Image[src]

impl Into<Element> for Line[src]

impl Into<Element> for LinearGradient[src]

impl Into<Element> for Link[src]

impl Into<Element> for Marker[src]

impl Into<Element> for Mask[src]

impl Into<Element> for MotionPath[src]

impl Into<Element> for Path[src]

impl Into<Element> for AnimateMotion[src]

impl Into<Element> for Pattern[src]

impl Into<Element> for Polygon[src]

impl Into<Element> for Polyline[src]

impl Into<Element> for RadialGradient[src]

impl Into<Element> for Rectangle[src]

impl Into<Element> for Stop[src]

impl Into<Element> for Symbol[src]

impl Into<Element> for Text[src]

impl Into<Element> for TextPath[src]

impl Into<Element> for Title[src]

impl Into<Element> for AnimateTransform[src]

impl Into<Element> for Use[src]

impl Into<Element> for SVG[src]

impl Into<Element> for Script[src]

impl Into<Element> for Style[src]

impl Into<Element> for Circle[src]

impl Into<Element> for ClipPath[src]

impl Into<Element> for Definitions[src]

impl Into<Element> for Description[src]

impl Into<Element> for Ellipse[src]

impl Into<Element> for Filter[src]

impl Node for Element[src]

Auto Trait Implementations

impl !RefUnwindSafe for Element

impl !Send for Element

impl !Sync for Element

impl Unpin for Element

impl !UnwindSafe for Element

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.