pub enum CssParseWarnMsgInner<'a> {
UnsupportedKeyValuePair {
key: &'a str,
value: &'a str,
},
ParseError(CssParseErrorInner<'a>),
SkippedRule {
selector: Option<&'a str>,
error: CssParseErrorInner<'a>,
},
SkippedDeclaration {
key: &'a str,
value: &'a str,
error: CssParseErrorInner<'a>,
},
MalformedStructure {
message: &'a str,
},
}Variants§
UnsupportedKeyValuePair
Key “blah” isn’t (yet) supported, so the parser didn’t attempt to parse the value at all
ParseError(CssParseErrorInner<'a>)
A CSS parse error that was encountered but recovered from
SkippedRule
A rule was skipped due to an error
SkippedDeclaration
A declaration was skipped due to an error
MalformedStructure
Malformed block structure (mismatched braces, etc.)
Implementations§
Source§impl<'a> CssParseWarnMsgInner<'a>
impl<'a> CssParseWarnMsgInner<'a>
pub fn to_contained(&self) -> CssParseWarnMsgInnerOwned
Trait Implementations§
Source§impl<'a> Clone for CssParseWarnMsgInner<'a>
impl<'a> Clone for CssParseWarnMsgInner<'a>
Source§fn clone(&self) -> CssParseWarnMsgInner<'a>
fn clone(&self) -> CssParseWarnMsgInner<'a>
Returns a duplicate 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<'a> Debug for CssParseWarnMsgInner<'a>
impl<'a> Debug for CssParseWarnMsgInner<'a>
Source§impl<'a> Display for CssParseWarnMsgInner<'a>
impl<'a> Display for CssParseWarnMsgInner<'a>
Source§impl<'a> PartialEq for CssParseWarnMsgInner<'a>
impl<'a> PartialEq for CssParseWarnMsgInner<'a>
impl<'a> StructuralPartialEq for CssParseWarnMsgInner<'a>
Auto Trait Implementations§
impl<'a> Freeze for CssParseWarnMsgInner<'a>
impl<'a> RefUnwindSafe for CssParseWarnMsgInner<'a>
impl<'a> Send for CssParseWarnMsgInner<'a>
impl<'a> Sync for CssParseWarnMsgInner<'a>
impl<'a> Unpin for CssParseWarnMsgInner<'a>
impl<'a> UnwindSafe for CssParseWarnMsgInner<'a>
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