[go: up one dir, main page]

Enum svgtypes::StyleToken [] [src]

pub enum StyleToken<'a> {
    Attribute(StrSpan<'a>, StrSpan<'a>),
    EntityRef(&'a str),
}

Style token.

Variants

Tuple contains attribute's name and value.

Tuple contains ENTITY reference. Just a name without & and ;.

Trait Implementations

impl<'a> PartialEq for StyleToken<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Debug for StyleToken<'a>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for StyleToken<'a>

impl<'a> Sync for StyleToken<'a>