pub enum PropertyInheritsParseError {
NoInherits,
InvalidInherits,
}
Expand description
Errors that can be encountered while parsing the @property rule’s inherits descriptor.
Variants§
NoInherits
The inherits descriptor is required for the @property rule to be valid; if it’s missing, the @property rule is invalid.
https://drafts.css-houdini.org/css-properties-values-api-1/#ref-for-descdef-property-inherits②
InvalidInherits
The inherits descriptor must successfully parse as true
or false
.
Trait Implementations§
source§impl Clone for PropertyInheritsParseError
impl Clone for PropertyInheritsParseError
source§fn clone(&self) -> PropertyInheritsParseError
fn clone(&self) -> PropertyInheritsParseError
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 Debug for PropertyInheritsParseError
impl Debug for PropertyInheritsParseError
impl StructuralPartialEq for PropertyInheritsParseError
Auto Trait Implementations§
impl Freeze for PropertyInheritsParseError
impl RefUnwindSafe for PropertyInheritsParseError
impl Send for PropertyInheritsParseError
impl Sync for PropertyInheritsParseError
impl Unpin for PropertyInheritsParseError
impl UnwindSafe for PropertyInheritsParseError
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
)