pub struct IteratorContainsExactly<E> {
pub expected: Vec<E>,
pub missing: HashSet<usize>,
pub extra: HashSet<usize>,
pub out_of_order: HashSet<usize>,
}Fields§
§expected: Vec<E>§missing: HashSet<usize>§extra: HashSet<usize>§out_of_order: HashSet<usize>Implementations§
Trait Implementations§
Source§impl<T, E> Expectation<Vec<T>> for IteratorContainsExactly<E>
impl<T, E> Expectation<Vec<T>> for IteratorContainsExactly<E>
Auto Trait Implementations§
impl<E> Freeze for IteratorContainsExactly<E>
impl<E> RefUnwindSafe for IteratorContainsExactly<E>where
E: RefUnwindSafe,
impl<E> Send for IteratorContainsExactly<E>where
E: Send,
impl<E> Sync for IteratorContainsExactly<E>where
E: Sync,
impl<E> Unpin for IteratorContainsExactly<E>where
E: Unpin,
impl<E> UnwindSafe for IteratorContainsExactly<E>where
E: 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