pub struct FontWeightOutOfRangeError;Expand description
Error returned when converting a u16 outside 100..=900 into a
FontWeight.
Trait Implementations§
Source§impl Clone for FontWeightOutOfRangeError
impl Clone for FontWeightOutOfRangeError
Source§fn clone(&self) -> FontWeightOutOfRangeError
fn clone(&self) -> FontWeightOutOfRangeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FontWeightOutOfRangeError
Source§impl Debug for FontWeightOutOfRangeError
impl Debug for FontWeightOutOfRangeError
Source§impl Display for FontWeightOutOfRangeError
impl Display for FontWeightOutOfRangeError
impl Eq for FontWeightOutOfRangeError
Source§impl Error for FontWeightOutOfRangeError
impl Error for FontWeightOutOfRangeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for FontWeightOutOfRangeError
Auto Trait Implementations§
impl Freeze for FontWeightOutOfRangeError
impl RefUnwindSafe for FontWeightOutOfRangeError
impl Send for FontWeightOutOfRangeError
impl Sync for FontWeightOutOfRangeError
impl Unpin for FontWeightOutOfRangeError
impl UnsafeUnpin for FontWeightOutOfRangeError
impl UnwindSafe for FontWeightOutOfRangeError
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