pub struct ListAssert<T> { /* private fields */ }
Implementations§
Source§impl<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> Freeze for ListAssert<T>
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§
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