pub enum MatchType {
Include,
Exclude,
}
Expand description
A pattern can be used as an include or an exclude pattern. In a list of MatchEntry
s, later
patterns take precedence over earlier patterns and the order of includes vs excludes makes a
difference.
Variants§
Implementations§
Source§impl MatchType
Convenience helpers
impl MatchType
Convenience helpers
pub fn is_include(self) -> bool
pub fn is_exclude(self) -> bool
Trait Implementations§
impl Copy for MatchType
impl Eq for MatchType
impl StructuralPartialEq for MatchType
Auto Trait Implementations§
impl Freeze for MatchType
impl RefUnwindSafe for MatchType
impl Send for MatchType
impl Sync for MatchType
impl Unpin for MatchType
impl UnwindSafe for MatchType
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