#[non_exhaustive]pub enum PlaneError {
NonFinite,
InvalidTolerance,
}Expand description
Why no segmentation was made.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NonFinite
A coordinate is not finite.
InvalidTolerance
The distance or angle is negative or not finite.
Trait Implementations§
Source§impl Clone for PlaneError
impl Clone for PlaneError
Source§fn clone(&self) -> PlaneError
fn clone(&self) -> PlaneError
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 PlaneError
impl Debug for PlaneError
Source§impl PartialEq for PlaneError
impl PartialEq for PlaneError
impl Copy for PlaneError
impl Eq for PlaneError
impl StructuralPartialEq for PlaneError
Auto Trait Implementations§
impl Freeze for PlaneError
impl RefUnwindSafe for PlaneError
impl Send for PlaneError
impl Sync for PlaneError
impl Unpin for PlaneError
impl UnwindSafe for PlaneError
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