Enum rsass::css::InvalidCss
source · pub enum InvalidCss {
UndefOp(Value),
Value(Value),
Incompat(Numeric, Numeric),
}
Expand description
An value is not valid for use in css.
Variants§
UndefOp(Value)
Value contains an undefined operation.
Value(Value)
Value isn’t a valid css value.
Incompat(Numeric, Numeric)
{} and {} have incompatible units.
Trait Implementations§
source§impl Debug for InvalidCss
impl Debug for InvalidCss
source§impl Display for InvalidCss
impl Display for InvalidCss
source§impl Error for InvalidCss
impl Error for InvalidCss
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<InvalidCss> for BadOp
impl From<InvalidCss> for BadOp
source§fn from(value: InvalidCss) -> Self
fn from(value: InvalidCss) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidCss
impl !RefUnwindSafe for InvalidCss
impl Send for InvalidCss
impl Sync for InvalidCss
impl Unpin for InvalidCss
impl !UnwindSafe for InvalidCss
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