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>
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
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
)