pub enum DockerIgnoreNegation {
Normal,
Negated,
}Expand description
Pattern negation vocabulary.
Variants§
Implementations§
Source§impl DockerIgnoreNegation
impl DockerIgnoreNegation
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 DockerIgnoreNegation
impl Clone for DockerIgnoreNegation
Source§fn clone(&self) -> DockerIgnoreNegation
fn clone(&self) -> DockerIgnoreNegation
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 DockerIgnoreNegation
impl Debug for DockerIgnoreNegation
Source§impl Hash for DockerIgnoreNegation
impl Hash for DockerIgnoreNegation
Source§impl Ord for DockerIgnoreNegation
impl Ord for DockerIgnoreNegation
Source§fn cmp(&self, other: &DockerIgnoreNegation) -> Ordering
fn cmp(&self, other: &DockerIgnoreNegation) -> 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 DockerIgnoreNegation
impl PartialEq for DockerIgnoreNegation
Source§fn eq(&self, other: &DockerIgnoreNegation) -> bool
fn eq(&self, other: &DockerIgnoreNegation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DockerIgnoreNegation
impl PartialOrd for DockerIgnoreNegation
impl Copy for DockerIgnoreNegation
impl Eq for DockerIgnoreNegation
impl StructuralPartialEq for DockerIgnoreNegation
Auto Trait Implementations§
impl Freeze for DockerIgnoreNegation
impl RefUnwindSafe for DockerIgnoreNegation
impl Send for DockerIgnoreNegation
impl Sync for DockerIgnoreNegation
impl Unpin for DockerIgnoreNegation
impl UnsafeUnpin for DockerIgnoreNegation
impl UnwindSafe for DockerIgnoreNegation
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