Enum svgdom::TagName [] [src]

pub enum TagName {
    Id(ElementId),
    Name(String),
}

Wrapper arrow element tag name.

Variants

For SVG elements.

For unknown elements.

Trait Implementations

impl Clone for TagName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TagName
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<ElementId> for TagName
[src]

Performs the conversion.

impl From<String> for TagName
[src]

Performs the conversion.

impl<'a> From<&'a str> for TagName
[src]

Performs the conversion.

impl Debug for TagName
[src]

Formats the value using the given formatter.