pub struct NotPattern(/* private fields */);
Expand description
A pattern that negates another pattern; matches when the inner pattern does not match.
Implementations§
Trait Implementations§
Source§impl Clone for NotPattern
impl Clone for NotPattern
Source§fn clone(&self) -> NotPattern
fn clone(&self) -> NotPattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NotPattern
impl Debug for NotPattern
Source§impl Display for NotPattern
impl Display for NotPattern
Source§impl PartialEq for NotPattern
impl PartialEq for NotPattern
impl Eq for NotPattern
impl StructuralPartialEq for NotPattern
Auto Trait Implementations§
impl Freeze for NotPattern
impl RefUnwindSafe for NotPattern
impl Send for NotPattern
impl Sync for NotPattern
impl Unpin for NotPattern
impl UnwindSafe for NotPattern
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