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]
impl FlagsItemKind
pub fn is_negation(&self) -> bool
[src]
pub fn is_negation(&self) -> bool
Returns true if and only if this item is a negation operator.
Trait Implementations
impl Clone for FlagsItemKind
[src]
impl Clone for FlagsItemKind
fn clone(&self) -> FlagsItemKind
[src]
fn clone(&self) -> FlagsItemKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for FlagsItemKind
[src]
impl Debug for FlagsItemKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for FlagsItemKind
[src]
impl Eq for FlagsItemKind
impl PartialEq for FlagsItemKind
[src]
impl PartialEq for FlagsItemKind
fn eq(&self, other: &FlagsItemKind) -> bool
[src]
fn eq(&self, other: &FlagsItemKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FlagsItemKind) -> bool
[src]
fn ne(&self, other: &FlagsItemKind) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for FlagsItemKind
impl Send for FlagsItemKind
impl Sync for FlagsItemKind
impl Sync for FlagsItemKind