pub struct AndPattern(/* private fields */);Expand description
A pattern that matches if all contained patterns match.
Implementations§
Trait Implementations§
Source§impl Clone for AndPattern
impl Clone for AndPattern
Source§fn clone(&self) -> AndPattern
fn clone(&self) -> AndPattern
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 AndPattern
impl Debug for AndPattern
Source§impl Display for AndPattern
impl Display for AndPattern
Source§impl PartialEq for AndPattern
impl PartialEq for AndPattern
impl Eq for AndPattern
impl StructuralPartialEq for AndPattern
Auto Trait Implementations§
impl Freeze for AndPattern
impl RefUnwindSafe for AndPattern
impl Send for AndPattern
impl Sync for AndPattern
impl Unpin for AndPattern
impl UnwindSafe for AndPattern
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