pub struct ContainerContainsUnorderedMatcher<'matchers, ContainerT: ?Sized, T: Debug, ModeT, const N: usize> { /* 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§
Trait Implementations§
Source§impl<'matchers, T: Debug, ContainerT: ?Sized, ModeT, const N: usize> Describable for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>
impl<'matchers, T: Debug, ContainerT: ?Sized, ModeT, const N: usize> Describable for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>
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, const N: usize> !RefUnwindSafe for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>
impl<'matchers, ContainerT, T, ModeT, const N: usize> !Send for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>
impl<'matchers, ContainerT, T, ModeT, const N: usize> !Sync for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>
impl<'matchers, ContainerT, T, ModeT, const N: usize> !UnwindSafe for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>
impl<'matchers, ContainerT, T, ModeT, const N: usize> Freeze for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>where
ContainerT: ?Sized,
impl<'matchers, ContainerT, T, ModeT, const N: usize> Unpin for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>
impl<'matchers, ContainerT, T, ModeT, const N: usize> UnsafeUnpin for ContainerContainsUnorderedMatcher<'matchers, ContainerT, T, ModeT, N>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