Struct easy_assert::list_assertions::ListAssert
source · [−]pub struct ListAssert<T> { /* private fields */ }Implementations
sourceimpl<T> ListAssert<T> where
T: 'static,
impl<T> ListAssert<T> where
T: 'static,
pub fn assert_that(actual: Vec<Actual<T>>) -> ListAssert<T>
pub fn with_element_matcher(
self,
element_matcher: fn(_: &T, _: &T) -> bool
) -> ListElementAssert<T>
pub fn length(self) -> Box<dyn Length>
Auto Trait Implementations
impl<T> RefUnwindSafe for ListAssert<T> where
T: RefUnwindSafe,
impl<T> Send for ListAssert<T> where
T: Send,
impl<T> Sync for ListAssert<T> where
T: Sync,
impl<T> Unpin for ListAssert<T> where
T: Unpin,
impl<T> UnwindSafe for ListAssert<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