pub struct ContainerContainsUnorderedMatcher<'matchers, ContainerT: ?Sized, T: Debug, ModeT> { /* private fields */ }Expand description
Matches elements of an iterable collection with a sequence of matchers, in any order.
This struct is meant to be used only through the
contains_exactly![...] macro.
Implementations§
Source§impl<'matchers, ContainerT: ?Sized, T: Debug, ModeT> ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
impl<'matchers, ContainerT: ?Sized, T: Debug, ModeT> ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
Trait Implementations§
Source§impl<'matchers, T: Debug, ContainerT: ?Sized, ModeT> Describable for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
impl<'matchers, T: Debug, ContainerT: ?Sized, ModeT> Describable for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
Source§fn describe(&self, matcher_result: MatcherResult) -> Description
fn describe(&self, matcher_result: MatcherResult) -> Description
Returns a description of
self or a negative description if
matcher_result is DoesNotMatch. Read moreAuto Trait Implementations§
impl<'matchers, ContainerT, T, ModeT> !RefUnwindSafe for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
impl<'matchers, ContainerT, T, ModeT> !Send for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
impl<'matchers, ContainerT, T, ModeT> !Sync for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
impl<'matchers, ContainerT, T, ModeT> !UnwindSafe for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
impl<'matchers, ContainerT, T, ModeT> Freeze for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>where
ContainerT: ?Sized,
impl<'matchers, ContainerT, T, ModeT> Unpin for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>
impl<'matchers, ContainerT, T, ModeT> UnsafeUnpin for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT>where
ContainerT: ?Sized,
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