pub enum PointError {
NonFinite,
ParamOutOfRange,
}Expand description
Why the constructor of a point type rejected its inputs.
Variants§
NonFinite
An input is NaN or infinite.
ParamOutOfRange
The parameters do not satisfy the conditions of the type.
Trait Implementations§
Source§impl Clone for PointError
impl Clone for PointError
impl Copy for PointError
Source§impl Debug for PointError
impl Debug for PointError
Source§impl Display for PointError
impl Display for PointError
impl Eq for PointError
Source§impl Error for PointError
impl Error for PointError
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 PointError
impl PartialEq for PointError
impl StructuralPartialEq for PointError
Auto Trait Implementations§
impl Forget for PointError
impl Freeze for PointError
impl Move for PointError
impl RefUnwindSafe for PointError
impl Send for PointError
impl Sync for PointError
impl Unpin for PointError
impl UnsafeUnpin for PointError
impl UnwindSafe for PointError
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