pub struct IgnorePattern {
pub pattern: String,
pub negated: bool,
pub dir_only: bool,
/* private fields */
}Expand description
A compiled ignore pattern.
Fields§
§pattern: StringOriginal pattern string
negated: boolWhether this is a negation pattern (starts with !)
dir_only: boolWhether this matches only directories (ends with /)
Implementations§
Trait Implementations§
Source§impl Clone for IgnorePattern
impl Clone for IgnorePattern
Source§fn clone(&self) -> IgnorePattern
fn clone(&self) -> IgnorePattern
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 moreAuto Trait Implementations§
impl Freeze for IgnorePattern
impl RefUnwindSafe for IgnorePattern
impl Send for IgnorePattern
impl Sync for IgnorePattern
impl Unpin for IgnorePattern
impl UnsafeUnpin for IgnorePattern
impl UnwindSafe for IgnorePattern
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