pub enum HorzAreaError<C>where
C: Display,{
InvalidRectPoint(InvalidPoint<C>),
Overflow {
size: CoordPair<C>,
},
}
Variants§
Trait Implementations§
Source§impl<C> Debug for HorzAreaError<C>
impl<C> Debug for HorzAreaError<C>
Source§impl<C> Display for HorzAreaError<C>
impl<C> Display for HorzAreaError<C>
Source§impl<C> Error for HorzAreaError<C>
impl<C> Error for HorzAreaError<C>
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()
Source§impl<C> From<InvalidPoint<C>> for HorzAreaError<C>where
C: Display,
impl<C> From<InvalidPoint<C>> for HorzAreaError<C>where
C: Display,
Source§fn from(source: InvalidPoint<C>) -> Self
fn from(source: InvalidPoint<C>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<C> Freeze for HorzAreaError<C>where
C: Freeze,
impl<C> RefUnwindSafe for HorzAreaError<C>where
C: RefUnwindSafe,
impl<C> Send for HorzAreaError<C>where
C: Send,
impl<C> Sync for HorzAreaError<C>where
C: Sync,
impl<C> Unpin for HorzAreaError<C>where
C: Unpin,
impl<C> UnwindSafe for HorzAreaError<C>where
C: UnwindSafe,
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