pub struct FiniteChecker;Expand description
A FloatChecker that considers all values valid except NaN and +/- Infinity.
The assert method is implemented using debug_assert!.
Trait Implementations§
Source§impl<F: Float> FloatChecker<F> for FiniteChecker
impl<F: Float> FloatChecker<F> for FiniteChecker
Auto Trait Implementations§
impl Freeze for FiniteChecker
impl RefUnwindSafe for FiniteChecker
impl Send for FiniteChecker
impl Sync for FiniteChecker
impl Unpin for FiniteChecker
impl UnwindSafe for FiniteChecker
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