Enum regex_syntax::ast::FlagsItemKind
[−]
[src]
pub enum FlagsItemKind { Negation, Flag(Flag), }
The kind of an item in a group of flags.
Variants
Negation
A negation operator applied to all subsequent flags in the enclosing group.
Flag(Flag)
A single flag in a group.
Methods
impl FlagsItemKind
[src]
pub fn is_negation(&self) -> bool
[src]
Returns true if and only if this item is a negation operator.
Trait Implementations
impl Clone for FlagsItemKind
[src]
fn clone(&self) -> FlagsItemKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FlagsItemKind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for FlagsItemKind
[src]
impl PartialEq for FlagsItemKind
[src]
fn eq(&self, __arg_0: &FlagsItemKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FlagsItemKind) -> bool
[src]
This method tests for !=
.