Enum css_module_lexer::Warning
source · pub enum Warning<'s> {
Unexpected {
range: Range,
message: &'s str,
},
DuplicateUrl {
range: Range,
when: &'s str,
},
NamespaceNotSupportedInBundledCss {
range: Range,
},
NotPrecededAtImport {
range: Range,
},
ExpectedUrl {
range: Range,
when: &'s str,
},
ExpectedUrlBefore {
range: Range,
when: &'s str,
},
ExpectedLayerBefore {
range: Range,
when: &'s str,
},
InconsistentModeResult {
range: Range,
},
ExpectedNotInside {
range: Range,
pseudo: &'s str,
},
MissingWhitespace {
range: Range,
surrounding: &'s str,
},
NotPure {
range: Range,
message: &'s str,
},
UnexpectedComposition {
range: Range,
message: &'s str,
},
}
Variants§
Unexpected
DuplicateUrl
NamespaceNotSupportedInBundledCss
NotPrecededAtImport
ExpectedUrl
ExpectedUrlBefore
ExpectedLayerBefore
InconsistentModeResult
ExpectedNotInside
MissingWhitespace
NotPure
UnexpectedComposition
Trait Implementations§
source§impl<'s> PartialEq for Warning<'s>
impl<'s> PartialEq for Warning<'s>
impl<'s> Eq for Warning<'s>
impl<'s> StructuralPartialEq for Warning<'s>
Auto Trait Implementations§
impl<'s> Freeze for Warning<'s>
impl<'s> RefUnwindSafe for Warning<'s>
impl<'s> Send for Warning<'s>
impl<'s> Sync for Warning<'s>
impl<'s> Unpin for Warning<'s>
impl<'s> UnwindSafe for Warning<'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