pub enum ValueParseErrorKind<'i> {
InvalidColor(Token<'i>),
InvalidFilter(Token<'i>),
}
Expand description
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§
source§impl<'i> Clone for ValueParseErrorKind<'i>
impl<'i> Clone for ValueParseErrorKind<'i>
source§fn clone(&self) -> ValueParseErrorKind<'i>
fn clone(&self) -> ValueParseErrorKind<'i>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'i> Debug for ValueParseErrorKind<'i>
impl<'i> Debug for ValueParseErrorKind<'i>
source§impl<'i> From<ValueParseErrorKind<'i>> for StyleParseErrorKind<'i>
impl<'i> From<ValueParseErrorKind<'i>> for StyleParseErrorKind<'i>
source§fn from(this: ValueParseErrorKind<'i>) -> Self
fn from(this: ValueParseErrorKind<'i>) -> Self
Converts to this type from the input type.
source§impl<'i> PartialEq for ValueParseErrorKind<'i>
impl<'i> PartialEq for ValueParseErrorKind<'i>
impl<'i> StructuralPartialEq for ValueParseErrorKind<'i>
Auto Trait Implementations§
impl<'i> Freeze for ValueParseErrorKind<'i>
impl<'i> RefUnwindSafe for ValueParseErrorKind<'i>
impl<'i> !Send for ValueParseErrorKind<'i>
impl<'i> !Sync for ValueParseErrorKind<'i>
impl<'i> Unpin for ValueParseErrorKind<'i>
impl<'i> UnwindSafe for ValueParseErrorKind<'i>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)