pub struct IteratorEndsWith<E> {
pub expected: Vec<E>,
pub missing: HashSet<usize>,
pub extra: HashSet<usize>,
}Fields§
§expected: Vec<E>§missing: HashSet<usize>§extra: HashSet<usize>Implementations§
Source§impl<E> IteratorEndsWith<E>
impl<E> IteratorEndsWith<E>
pub fn new(expected: Vec<E>) -> Self
👎Deprecated: use the function
iterator_ends_with insteadTrait Implementations§
Source§impl<T, E> Expectation<Vec<T>> for IteratorEndsWith<E>
impl<T, E> Expectation<Vec<T>> for IteratorEndsWith<E>
Auto Trait Implementations§
impl<E> Freeze for IteratorEndsWith<E>
impl<E> RefUnwindSafe for IteratorEndsWith<E>where
E: RefUnwindSafe,
impl<E> Send for IteratorEndsWith<E>where
E: Send,
impl<E> Sync for IteratorEndsWith<E>where
E: Sync,
impl<E> Unpin for IteratorEndsWith<E>where
E: Unpin,
impl<E> UnwindSafe for IteratorEndsWith<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