pub enum GeometryError {
NegativeValue,
ZeroValue,
InvalidAngle,
InvalidInput(String),
}Variants§
NegativeValue
Input value is negative when it should be positive
ZeroValue
Input value is zero when it should be non-zero
InvalidAngle
Invalid angle value
InvalidInput(String)
Other general validation errors
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GeometryError
impl RefUnwindSafe for GeometryError
impl Send for GeometryError
impl Sync for GeometryError
impl Unpin for GeometryError
impl UnwindSafe for GeometryError
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