pub enum PixelParseError<'a> {
EmptyString,
NoValueGiven(&'a str),
UnsupportedMetric(f32, String, &'a str),
ValueParseErr(ParseFloatError, String),
}
Variants§
EmptyString
NoValueGiven(&'a str)
UnsupportedMetric(f32, String, &'a str)
ValueParseErr(ParseFloatError, String)
Trait Implementations§
Source§impl<'a> Clone for PixelParseError<'a>
impl<'a> Clone for PixelParseError<'a>
Source§fn clone(&self) -> PixelParseError<'a>
fn clone(&self) -> PixelParseError<'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 PixelParseError<'a>
impl<'a> Debug for PixelParseError<'a>
Source§impl<'a> Display for PixelParseError<'a>
impl<'a> Display for PixelParseError<'a>
Source§impl<'a> From<PixelParseError<'a>> for CssParsingError<'a>
impl<'a> From<PixelParseError<'a>> for CssParsingError<'a>
Source§fn from(e: PixelParseError<'a>) -> Self
fn from(e: PixelParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<PixelParseError<'a>> for CssShadowParseError<'a>
impl<'a> From<PixelParseError<'a>> for CssShadowParseError<'a>
Source§fn from(e: PixelParseError<'a>) -> Self
fn from(e: PixelParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<PixelParseError<'a>> for CssStyleBorderRadiusParseError<'a>
impl<'a> From<PixelParseError<'a>> for CssStyleBorderRadiusParseError<'a>
Source§fn from(e: PixelParseError<'a>) -> Self
fn from(e: PixelParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<PixelParseError<'a>> for LayoutMarginParseError<'a>
impl<'a> From<PixelParseError<'a>> for LayoutMarginParseError<'a>
Source§fn from(e: PixelParseError<'a>) -> Self
fn from(e: PixelParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<PixelParseError<'a>> for LayoutPaddingParseError<'a>
impl<'a> From<PixelParseError<'a>> for LayoutPaddingParseError<'a>
Source§fn from(e: PixelParseError<'a>) -> Self
fn from(e: PixelParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for PixelParseError<'a>
impl<'a> PartialEq for PixelParseError<'a>
impl<'a> StructuralPartialEq for PixelParseError<'a>
Auto Trait Implementations§
impl<'a> Freeze for PixelParseError<'a>
impl<'a> RefUnwindSafe for PixelParseError<'a>
impl<'a> Send for PixelParseError<'a>
impl<'a> Sync for PixelParseError<'a>
impl<'a> Unpin for PixelParseError<'a>
impl<'a> UnwindSafe for PixelParseError<'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