pub enum CssFontWeightParseError<'a> {
InvalidValue(InvalidValueErr<'a>),
InvalidNumber(ParseIntError),
}Variants§
InvalidValue(InvalidValueErr<'a>)
InvalidNumber(ParseIntError)
Implementations§
Source§impl<'a> CssFontWeightParseError<'a>
impl<'a> CssFontWeightParseError<'a>
pub fn to_contained(&self) -> CssFontWeightParseErrorOwned
Trait Implementations§
Source§impl<'a> Clone for CssFontWeightParseError<'a>
impl<'a> Clone for CssFontWeightParseError<'a>
Source§fn clone(&self) -> CssFontWeightParseError<'a>
fn clone(&self) -> CssFontWeightParseError<'a>
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<'a> Debug for CssFontWeightParseError<'a>
impl<'a> Debug for CssFontWeightParseError<'a>
Source§impl<'a> Display for CssFontWeightParseError<'a>
impl<'a> Display for CssFontWeightParseError<'a>
Source§impl<'a> From<CssFontWeightParseError<'a>> for CssParsingError<'a>
impl<'a> From<CssFontWeightParseError<'a>> for CssParsingError<'a>
Source§fn from(e: CssFontWeightParseError<'a>) -> Self
fn from(e: CssFontWeightParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<InvalidValueErr<'a>> for CssFontWeightParseError<'a>
impl<'a> From<InvalidValueErr<'a>> for CssFontWeightParseError<'a>
Source§fn from(e: InvalidValueErr<'a>) -> Self
fn from(e: InvalidValueErr<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ParseIntError> for CssFontWeightParseError<'a>
impl<'a> From<ParseIntError> for CssFontWeightParseError<'a>
Source§fn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for CssFontWeightParseError<'a>
impl<'a> PartialEq for CssFontWeightParseError<'a>
impl<'a> StructuralPartialEq for CssFontWeightParseError<'a>
Auto Trait Implementations§
impl<'a> Freeze for CssFontWeightParseError<'a>
impl<'a> RefUnwindSafe for CssFontWeightParseError<'a>
impl<'a> Send for CssFontWeightParseError<'a>
impl<'a> Sync for CssFontWeightParseError<'a>
impl<'a> Unpin for CssFontWeightParseError<'a>
impl<'a> UnwindSafe for CssFontWeightParseError<'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