[−][src]Struct svg::node::element::Element
An element.
Implementations
impl Element
[src]
pub fn new<T>(name: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
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
[src]
impl !Send for Element
[src]
impl !Sync for Element
[src]
impl Unpin for Element
[src]
impl !UnwindSafe for Element
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,