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
InvalidColor(Token<'i>)
An invalid token was encountered while parsing a color value.
InvalidFilter(Token<'i>)
An invalid filter value was encountered.
Trait Implementations
impl<'i> From<ValueParseErrorKind<'i>> for StyleParseErrorKind<'i>
[src]
fn from(this: ValueParseErrorKind<'i>) -> Self
[src]
Performs the conversion.
impl<'i> Clone for ValueParseErrorKind<'i>
[src]
fn clone(&self) -> ValueParseErrorKind<'i>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'i> Debug for ValueParseErrorKind<'i>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'i> PartialEq for ValueParseErrorKind<'i>
[src]
fn eq(&self, __arg_0: &ValueParseErrorKind<'i>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ValueParseErrorKind<'i>) -> bool
[src]
This method tests for !=
.