pub struct IteratorStartsWith<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> IteratorStartsWith<E>
impl<E> IteratorStartsWith<E>
pub fn new(expected: Vec<E>) -> Self
👎Deprecated: use the function
iterator_starts_with insteadTrait Implementations§
Source§impl<T, E> Expectation<Vec<T>> for IteratorStartsWith<E>
impl<T, E> Expectation<Vec<T>> for IteratorStartsWith<E>
Auto Trait Implementations§
impl<E> Freeze for IteratorStartsWith<E>
impl<E> RefUnwindSafe for IteratorStartsWith<E>where
E: RefUnwindSafe,
impl<E> Send for IteratorStartsWith<E>where
E: Send,
impl<E> Sync for IteratorStartsWith<E>where
E: Sync,
impl<E> Unpin for IteratorStartsWith<E>where
E: Unpin,
impl<E> UnwindSafe for IteratorStartsWith<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