pub struct OrPattern(/* private fields */);
Expand description
A pattern that matches if any contained pattern matches.
Implementations§
Trait Implementations§
impl Eq for OrPattern
impl StructuralPartialEq for OrPattern
Auto Trait Implementations§
impl Freeze for OrPattern
impl RefUnwindSafe for OrPattern
impl Send for OrPattern
impl Sync for OrPattern
impl Unpin for OrPattern
impl UnwindSafe for OrPattern
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