pub struct HasValue<V> { /* private fields */ }
Expand description
Matches if the map-like collection contains the given value.
The Matcher
tests for this by converting the map-like data structure
into a key/value pair iterator.
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for HasValue<V>where
V: Freeze,
impl<V> RefUnwindSafe for HasValue<V>where
V: RefUnwindSafe,
impl<V> Send for HasValue<V>where
V: Send,
impl<V> Sync for HasValue<V>where
V: Sync,
impl<V> Unpin for HasValue<V>where
V: Unpin,
impl<V> UnwindSafe for HasValue<V>where
V: 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