pub enum CircleConstructionError {
NegativeRadius,
NullNormal,
ConfusedPoints,
CollinearPoints,
NonFinite,
}Expand description
Variants§
NegativeRadius
The requested radius is negative.
NullNormal
The normal (or main axis direction) has zero length.
ConfusedPoints
Two (or more) of the three points given to build the circle are coincident (or too close to distinguish).
CollinearPoints
The three points given to build the circle are collinear, so no (finite-radius) circle passes through all three.
NonFinite
An input coordinate, radius, or angle is NaN or infinite.
Trait Implementations§
Source§impl Clone for CircleConstructionError
impl Clone for CircleConstructionError
impl Copy for CircleConstructionError
Source§impl Debug for CircleConstructionError
impl Debug for CircleConstructionError
Source§impl Display for CircleConstructionError
impl Display for CircleConstructionError
impl Eq for CircleConstructionError
Source§impl Error for CircleConstructionError
impl Error for CircleConstructionError
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 CircleConstructionError
impl PartialEq for CircleConstructionError
impl StructuralPartialEq for CircleConstructionError
Auto Trait Implementations§
impl Freeze for CircleConstructionError
impl RefUnwindSafe for CircleConstructionError
impl Send for CircleConstructionError
impl Sync for CircleConstructionError
impl Unpin for CircleConstructionError
impl UnsafeUnpin for CircleConstructionError
impl UnwindSafe for CircleConstructionError
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