pub enum TryFromSizeError {
TryFromIntError(TryFromIntError),
FloatToInt,
}Expand description
The error type returned when a checked Size type conversion fails.
Variants§
TryFromIntError(TryFromIntError)
The error type returned when a checked integral type conversion fails.
FloatToInt
The error type returned when a floating point value is outside the range of the integer type it needs to be converted to.
Trait Implementations§
Source§impl Clone for TryFromSizeError
impl Clone for TryFromSizeError
Source§fn clone(&self) -> TryFromSizeError
fn clone(&self) -> TryFromSizeError
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 TryFromSizeError
impl Debug for TryFromSizeError
Source§impl From<TryFromIntError> for TryFromSizeError
impl From<TryFromIntError> for TryFromSizeError
Source§fn from(e: TryFromIntError) -> Self
fn from(e: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TryFromSizeError
impl PartialEq for TryFromSizeError
impl Copy for TryFromSizeError
impl Eq for TryFromSizeError
impl StructuralPartialEq for TryFromSizeError
Auto Trait Implementations§
impl Freeze for TryFromSizeError
impl RefUnwindSafe for TryFromSizeError
impl Send for TryFromSizeError
impl Sync for TryFromSizeError
impl Unpin for TryFromSizeError
impl UnwindSafe for TryFromSizeError
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