pub enum GitIgnoreNegation {
Normal,
Negated,
}Expand description
Pattern negation vocabulary.
Variants§
Implementations§
Source§impl GitIgnoreNegation
impl GitIgnoreNegation
Sourcepub const fn is_negated(self) -> bool
pub const fn is_negated(self) -> bool
Returns true when the pattern is negated.
Trait Implementations§
Source§impl Clone for GitIgnoreNegation
impl Clone for GitIgnoreNegation
Source§fn clone(&self) -> GitIgnoreNegation
fn clone(&self) -> GitIgnoreNegation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitIgnoreNegation
impl Debug for GitIgnoreNegation
Source§impl Hash for GitIgnoreNegation
impl Hash for GitIgnoreNegation
Source§impl Ord for GitIgnoreNegation
impl Ord for GitIgnoreNegation
Source§fn cmp(&self, other: &GitIgnoreNegation) -> Ordering
fn cmp(&self, other: &GitIgnoreNegation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GitIgnoreNegation
impl PartialEq for GitIgnoreNegation
Source§fn eq(&self, other: &GitIgnoreNegation) -> bool
fn eq(&self, other: &GitIgnoreNegation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GitIgnoreNegation
impl PartialOrd for GitIgnoreNegation
impl Copy for GitIgnoreNegation
impl Eq for GitIgnoreNegation
impl StructuralPartialEq for GitIgnoreNegation
Auto Trait Implementations§
impl Freeze for GitIgnoreNegation
impl RefUnwindSafe for GitIgnoreNegation
impl Send for GitIgnoreNegation
impl Sync for GitIgnoreNegation
impl Unpin for GitIgnoreNegation
impl UnsafeUnpin for GitIgnoreNegation
impl UnwindSafe for GitIgnoreNegation
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