Enum css_module_lexer::WarningKind
source · pub enum WarningKind<'s> {
Unexpected {
message: &'s str,
},
DuplicateUrl {
when: &'s str,
},
NamespaceNotSupportedInBundledCss,
NotPrecededAtImport,
ExpectedUrl {
when: &'s str,
},
ExpectedUrlBefore {
when: &'s str,
},
ExpectedLayerBefore {
when: &'s str,
},
InconsistentModeResult,
ExpectedNotInside {
pseudo: &'s str,
},
MissingWhitespace {
surrounding: &'s str,
},
NotPure {
message: &'s str,
},
UnexpectedComposition {
message: &'s str,
},
}
Variants§
Unexpected
DuplicateUrl
NamespaceNotSupportedInBundledCss
NotPrecededAtImport
ExpectedUrl
ExpectedUrlBefore
ExpectedLayerBefore
InconsistentModeResult
ExpectedNotInside
MissingWhitespace
NotPure
UnexpectedComposition
Trait Implementations§
source§impl<'s> Clone for WarningKind<'s>
impl<'s> Clone for WarningKind<'s>
source§fn clone(&self) -> WarningKind<'s>
fn clone(&self) -> WarningKind<'s>
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<'s> Debug for WarningKind<'s>
impl<'s> Debug for WarningKind<'s>
source§impl<'s> Hash for WarningKind<'s>
impl<'s> Hash for WarningKind<'s>
source§impl<'s> PartialEq for WarningKind<'s>
impl<'s> PartialEq for WarningKind<'s>
source§fn eq(&self, other: &WarningKind<'s>) -> bool
fn eq(&self, other: &WarningKind<'s>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'s> Eq for WarningKind<'s>
impl<'s> StructuralPartialEq for WarningKind<'s>
Auto Trait Implementations§
impl<'s> Freeze for WarningKind<'s>
impl<'s> RefUnwindSafe for WarningKind<'s>
impl<'s> Send for WarningKind<'s>
impl<'s> Sync for WarningKind<'s>
impl<'s> Unpin for WarningKind<'s>
impl<'s> UnwindSafe for WarningKind<'s>
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