Enum style_traits::ValueParseErrorKind [] [src]

pub enum ValueParseErrorKind<'i> {
    InvalidColor(Token<'i>),
    InvalidFilter(Token<'i>),
}

Specific errors that can be encountered while parsing property values.

Variants

An invalid token was encountered while parsing a color value.

An invalid filter value was encountered.

Trait Implementations

impl<'i> From<ValueParseErrorKind<'i>> for StyleParseErrorKind<'i>
[src]

[src]

Performs the conversion.

impl<'i> Clone for ValueParseErrorKind<'i>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'i> Debug for ValueParseErrorKind<'i>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'i> PartialEq for ValueParseErrorKind<'i>
[src]

[src]

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

[src]

This method tests for !=.