pub enum TryFromPositionError {
TryFromIntError(TryFromIntError),
FloatToInt,
}Expand description
The error type returned when a checked Position 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 TryFromPositionError
impl Clone for TryFromPositionError
Source§fn clone(&self) -> TryFromPositionError
fn clone(&self) -> TryFromPositionError
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 TryFromPositionError
impl Debug for TryFromPositionError
Source§impl From<TryFromIntError> for TryFromPositionError
impl From<TryFromIntError> for TryFromPositionError
Source§fn from(e: TryFromIntError) -> Self
fn from(e: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TryFromPositionError
impl PartialEq for TryFromPositionError
impl Copy for TryFromPositionError
impl Eq for TryFromPositionError
impl StructuralPartialEq for TryFromPositionError
Auto Trait Implementations§
impl Freeze for TryFromPositionError
impl RefUnwindSafe for TryFromPositionError
impl Send for TryFromPositionError
impl Sync for TryFromPositionError
impl Unpin for TryFromPositionError
impl UnwindSafe for TryFromPositionError
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