pub enum CssPixelValueParseErrorOwned {
EmptyString,
NoValueGiven(String, SizeMetric),
ValueParseErr(ParseFloatError, String),
InvalidPixelValue(String),
}Expand description
Owned version of CssPixelValueParseError.
Variants§
EmptyString
NoValueGiven(String, SizeMetric)
ValueParseErr(ParseFloatError, String)
InvalidPixelValue(String)
Implementations§
Trait Implementations§
Source§impl Clone for CssPixelValueParseErrorOwned
impl Clone for CssPixelValueParseErrorOwned
Source§fn clone(&self) -> CssPixelValueParseErrorOwned
fn clone(&self) -> CssPixelValueParseErrorOwned
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 CssPixelValueParseErrorOwned
impl Debug for CssPixelValueParseErrorOwned
Source§impl PartialEq for CssPixelValueParseErrorOwned
impl PartialEq for CssPixelValueParseErrorOwned
Source§fn eq(&self, other: &CssPixelValueParseErrorOwned) -> bool
fn eq(&self, other: &CssPixelValueParseErrorOwned) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CssPixelValueParseErrorOwned
Auto Trait Implementations§
impl Freeze for CssPixelValueParseErrorOwned
impl RefUnwindSafe for CssPixelValueParseErrorOwned
impl Send for CssPixelValueParseErrorOwned
impl Sync for CssPixelValueParseErrorOwned
impl Unpin for CssPixelValueParseErrorOwned
impl UnwindSafe for CssPixelValueParseErrorOwned
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