pub struct ParseIgnore {
pub support_precious: bool,
}
Expand description
Specify how to parse ignore patterns.
An implementation of the Pattern
trait for ignore-patterns.
Fields§
§support_precious: bool
If support_precious
is true
, we will parse $
prefixed entries as precious.
This is backward-incompatible as files that actually start with $
like $houdini
will then not be ignored anymore, instead it ignores houdini
.
Trait Implementations§
Source§impl Ord for Ignore
impl Ord for Ignore
Source§impl PartialOrd for Ignore
impl PartialOrd for Ignore
impl Copy for Ignore
impl Eq for Ignore
impl StructuralPartialEq for Ignore
Auto Trait Implementations§
impl Freeze for Ignore
impl RefUnwindSafe for Ignore
impl Send for Ignore
impl Sync for Ignore
impl Unpin for Ignore
impl UnwindSafe for Ignore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.