pub enum SqrtErrorKind {
Overflow,
Complex,
Unrepresentable,
}
Expand description
Types of FromSqrt errors
Variants§
Overflow
A proper representation will requires a integer type with more capacity
Complex
The square root is a complex number
Unrepresentable
The square root of the target cannot be represented as a quadratic surd
Trait Implementations§
Source§impl Clone for SqrtErrorKind
impl Clone for SqrtErrorKind
Source§fn clone(&self) -> SqrtErrorKind
fn clone(&self) -> SqrtErrorKind
Returns a duplicate 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 SqrtErrorKind
impl Debug for SqrtErrorKind
Source§impl PartialEq for SqrtErrorKind
impl PartialEq for SqrtErrorKind
impl Copy for SqrtErrorKind
impl StructuralPartialEq for SqrtErrorKind
Auto Trait Implementations§
impl Freeze for SqrtErrorKind
impl RefUnwindSafe for SqrtErrorKind
impl Send for SqrtErrorKind
impl Sync for SqrtErrorKind
impl Unpin for SqrtErrorKind
impl UnwindSafe for SqrtErrorKind
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