pub enum Eq<T> {
Any,
Eq(T),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Eq<T>where
T: Freeze,
impl<T> RefUnwindSafe for Eq<T>where
T: RefUnwindSafe,
impl<T> Send for Eq<T>where
T: Send,
impl<T> Sync for Eq<T>where
T: Sync,
impl<T> Unpin for Eq<T>where
T: Unpin,
impl<T> UnwindSafe for Eq<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AssertingThat for T
impl<T> AssertingThat for T
fn assert_that<'t, U>(self, map: impl Fn(T) -> U) -> AssertThat<'t, U, Panic>
fn assert_that_it<'t>(self) -> AssertThat<'t, T, Panic>
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