pub enum CssBackgroundParseErrorOwned {
Error(String),
InvalidBackground(ParenthesisParseErrorOwned),
UnclosedGradient(String),
NoDirection(String),
TooFewGradientStops(String),
DirectionParseError(CssDirectionParseErrorOwned),
GradientParseError(CssGradientStopParseErrorOwned),
ConicGradient(CssConicGradientParseErrorOwned),
ShapeParseError(CssShapeParseErrorOwned),
ImageParseError(CssImageParseErrorOwned),
ColorParseError(CssColorParseErrorOwned),
}Variants§
Error(String)
InvalidBackground(ParenthesisParseErrorOwned)
UnclosedGradient(String)
NoDirection(String)
TooFewGradientStops(String)
DirectionParseError(CssDirectionParseErrorOwned)
GradientParseError(CssGradientStopParseErrorOwned)
ConicGradient(CssConicGradientParseErrorOwned)
ShapeParseError(CssShapeParseErrorOwned)
ImageParseError(CssImageParseErrorOwned)
ColorParseError(CssColorParseErrorOwned)
Implementations§
Trait Implementations§
Source§impl Clone for CssBackgroundParseErrorOwned
impl Clone for CssBackgroundParseErrorOwned
Source§fn clone(&self) -> CssBackgroundParseErrorOwned
fn clone(&self) -> CssBackgroundParseErrorOwned
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 Debug for CssBackgroundParseErrorOwned
impl Debug for CssBackgroundParseErrorOwned
Source§impl PartialEq for CssBackgroundParseErrorOwned
impl PartialEq for CssBackgroundParseErrorOwned
Source§fn eq(&self, other: &CssBackgroundParseErrorOwned) -> bool
fn eq(&self, other: &CssBackgroundParseErrorOwned) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CssBackgroundParseErrorOwned
Auto Trait Implementations§
impl Freeze for CssBackgroundParseErrorOwned
impl RefUnwindSafe for CssBackgroundParseErrorOwned
impl Send for CssBackgroundParseErrorOwned
impl Sync for CssBackgroundParseErrorOwned
impl Unpin for CssBackgroundParseErrorOwned
impl UnwindSafe for CssBackgroundParseErrorOwned
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