Enum gtk4::CssParserError [−][src]
#[non_exhaustive]
pub enum CssParserError {
Failed,
Syntax,
Import,
Name,
UnknownValue,
// some variants omitted
}
Expand description
Errors that can occur while parsing CSS.
These errors are unexpected and will cause parts of the given CSS to be ignored.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Unknown failure.
The given text does not form valid syntax
Failed to import a resource
The given name has not been defined
The given value is not correct
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CssParserError
impl Send for CssParserError
impl Sync for CssParserError
impl Unpin for CssParserError
impl UnwindSafe for CssParserError
Blanket Implementations
Mutably borrows from an owned value. Read more