pub struct NegativeError;Expand description
The error produced when a negative or NaN value is encountered.
Trait Implementations§
Source§impl Clone for NegativeError
impl Clone for NegativeError
Source§fn clone(&self) -> NegativeError
fn clone(&self) -> NegativeError
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 NegativeError
impl Debug for NegativeError
Source§impl Display for NegativeError
impl Display for NegativeError
impl Copy for NegativeError
Auto Trait Implementations§
impl Freeze for NegativeError
impl RefUnwindSafe for NegativeError
impl Send for NegativeError
impl Sync for NegativeError
impl Unpin for NegativeError
impl UnwindSafe for NegativeError
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