pub struct InvalidRectCoordinatesError;
👎Deprecated since 0.6.2: Use
Rect::new
instead, since Rect::try_new
will never ErrorTrait Implementations§
Source§impl Clone for InvalidRectCoordinatesError
impl Clone for InvalidRectCoordinatesError
Source§fn clone(&self) -> InvalidRectCoordinatesError
fn clone(&self) -> InvalidRectCoordinatesError
Returns a copy 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 InvalidRectCoordinatesError
impl Debug for InvalidRectCoordinatesError
Source§impl Error for InvalidRectCoordinatesError
impl Error for InvalidRectCoordinatesError
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()
Source§impl PartialEq for InvalidRectCoordinatesError
impl PartialEq for InvalidRectCoordinatesError
Source§fn eq(&self, other: &InvalidRectCoordinatesError) -> bool
fn eq(&self, other: &InvalidRectCoordinatesError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for InvalidRectCoordinatesError
impl Eq for InvalidRectCoordinatesError
impl StructuralPartialEq for InvalidRectCoordinatesError
Auto Trait Implementations§
impl Freeze for InvalidRectCoordinatesError
impl RefUnwindSafe for InvalidRectCoordinatesError
impl Send for InvalidRectCoordinatesError
impl Sync for InvalidRectCoordinatesError
impl Unpin for InvalidRectCoordinatesError
impl UnwindSafe for InvalidRectCoordinatesError
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