pub enum CssGradientStopParseError<'a> {
Error(&'a str),
Percentage(PercentageParseError),
ColorParseError(CssColorParseError<'a>),
}
Variants§
Trait Implementations§
Source§impl<'a> Clone for CssGradientStopParseError<'a>
impl<'a> Clone for CssGradientStopParseError<'a>
Source§fn clone(&self) -> CssGradientStopParseError<'a>
fn clone(&self) -> CssGradientStopParseError<'a>
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<'a> Debug for CssGradientStopParseError<'a>
impl<'a> Debug for CssGradientStopParseError<'a>
Source§impl<'a> Display for CssGradientStopParseError<'a>
impl<'a> Display for CssGradientStopParseError<'a>
Source§impl<'a> From<CssColorParseError<'a>> for CssGradientStopParseError<'a>
impl<'a> From<CssColorParseError<'a>> for CssGradientStopParseError<'a>
Source§fn from(e: CssColorParseError<'a>) -> Self
fn from(e: CssColorParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<CssGradientStopParseError<'a>> for CssBackgroundParseError<'a>
impl<'a> From<CssGradientStopParseError<'a>> for CssBackgroundParseError<'a>
Source§fn from(e: CssGradientStopParseError<'a>) -> Self
fn from(e: CssGradientStopParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for CssGradientStopParseError<'a>
impl<'a> PartialEq for CssGradientStopParseError<'a>
Source§fn eq(&self, other: &CssGradientStopParseError<'a>) -> bool
fn eq(&self, other: &CssGradientStopParseError<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for CssGradientStopParseError<'a>
Auto Trait Implementations§
impl<'a> Freeze for CssGradientStopParseError<'a>
impl<'a> RefUnwindSafe for CssGradientStopParseError<'a>
impl<'a> Send for CssGradientStopParseError<'a>
impl<'a> Sync for CssGradientStopParseError<'a>
impl<'a> Unpin for CssGradientStopParseError<'a>
impl<'a> UnwindSafe for CssGradientStopParseError<'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