#[non_exhaustive]pub enum MatchOp {
Eq,
Neq,
Re,
Nre,
}Expand description
Label matching operator.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for MatchOp
impl Eq for MatchOp
impl StructuralPartialEq for MatchOp
Auto Trait Implementations§
impl Freeze for MatchOp
impl RefUnwindSafe for MatchOp
impl Send for MatchOp
impl Sync for MatchOp
impl Unpin for MatchOp
impl UnsafeUnpin for MatchOp
impl UnwindSafe for MatchOp
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