pub struct NumericAssert<T>where
T: Num + PartialOrd,{ /* private fields */ }
Implementations§
Source§impl<T> NumericAssert<T>where
T: Num + PartialOrd + 'static,
impl<T> NumericAssert<T>where
T: Num + PartialOrd + 'static,
pub fn assert_that(actual: Actual<T>) -> NumericAssert<T>
pub fn is_equal(self) -> Box<dyn Equals<T>>
pub fn is_not_equal(self) -> Box<dyn NotEquals<T>>
pub fn is_less(self) -> Box<dyn Less<T>>
pub fn is_less_or_equal(self) -> Box<dyn LessOrEqual<T>>
pub fn is_greater(self) -> Box<dyn Greater<T>>
pub fn is_greater_or_equal(self) -> Box<dyn GreaterOrEqual<T>>
Auto Trait Implementations§
impl<T> Freeze for NumericAssert<T>where
T: Freeze,
impl<T> RefUnwindSafe for NumericAssert<T>where
T: RefUnwindSafe,
impl<T> Send for NumericAssert<T>where
T: Send,
impl<T> Sync for NumericAssert<T>where
T: Sync,
impl<T> Unpin for NumericAssert<T>where
T: Unpin,
impl<T> UnwindSafe for NumericAssert<T>where
T: 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