pub struct Matcher<T: Clone + PartialEq + Eq>(/* private fields */);Expand description
A pattern struct used to match against other patterns. This is NOT used to generate permutations.
Trait Implementations§
impl<T: Eq + Clone + PartialEq + Eq> Eq for Matcher<T>
impl<T: Clone + PartialEq + Eq> StructuralPartialEq for Matcher<T>
Auto Trait Implementations§
impl<T> Freeze for Matcher<T>
impl<T> RefUnwindSafe for Matcher<T>where
T: RefUnwindSafe,
impl<T> Send for Matcher<T>where
T: Send,
impl<T> Sync for Matcher<T>where
T: Sync,
impl<T> Unpin for Matcher<T>
impl<T> UnwindSafe for Matcher<T>where
T: 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