Struct easy_assert::num_assertions::NumericAssert
source · [−]pub struct NumericAssert<T> where
T: Num + PartialOrd, { /* private fields */ }Implementations
sourceimpl<T> NumericAssert<T> where
T: Num + PartialOrd,
T: 'static,
impl<T> NumericAssert<T> where
T: Num + PartialOrd,
T: '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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more