pub struct IsNotCloseTo<E, M> {
pub expected: E,
pub margin: M,
}Fields§
§expected: E§margin: MImplementations§
Source§impl<E, M> IsNotCloseTo<E, M>
impl<E, M> IsNotCloseTo<E, M>
pub fn within_margin(self, margin: impl Into<M>) -> Self
Trait Implementations§
Source§impl Expectation<f32> for IsNotCloseTo<f32, F32Margin>
impl Expectation<f32> for IsNotCloseTo<f32, F32Margin>
Source§impl Expectation<f64> for IsNotCloseTo<f64, F64Margin>
impl Expectation<f64> for IsNotCloseTo<f64, F64Margin>
Auto Trait Implementations§
impl<E, M> Freeze for IsNotCloseTo<E, M>
impl<E, M> RefUnwindSafe for IsNotCloseTo<E, M>where
E: RefUnwindSafe,
M: RefUnwindSafe,
impl<E, M> Send for IsNotCloseTo<E, M>
impl<E, M> Sync for IsNotCloseTo<E, M>
impl<E, M> Unpin for IsNotCloseTo<E, M>
impl<E, M> UnwindSafe for IsNotCloseTo<E, M>where
E: UnwindSafe,
M: UnwindSafe,
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