pub struct ListElementAssert<T> { /* private fields */ }
Implementations§
Source§impl<T> ListElementAssert<T>where
T: 'static,
impl<T> ListElementAssert<T>where
T: 'static,
pub fn contains( self, expected: Vec<Expected<T>>, ) -> Box<dyn CollectionContains<T>>
pub fn does_not_contain( self, expected: Vec<Expected<T>>, ) -> Box<dyn CollectionNotContain<T>>
pub fn is_equal_to( self, expected: Vec<Expected<T>>, ) -> Box<dyn CollectionEqual<T>>
pub fn is_not_equal_to( self, expected: Vec<Expected<T>>, ) -> Box<dyn CollectionNotEqual<T>>
Auto Trait Implementations§
impl<T> Freeze for ListElementAssert<T>
impl<T> RefUnwindSafe for ListElementAssert<T>where
T: RefUnwindSafe,
impl<T> Send for ListElementAssert<T>where
T: Send,
impl<T> Sync for ListElementAssert<T>where
T: Sync,
impl<T> Unpin for ListElementAssert<T>where
T: Unpin,
impl<T> UnwindSafe for ListElementAssert<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