Enum regex_syntax::ast::FlagsItemKind
source · pub enum FlagsItemKind {
Negation,
Flag(Flag),
}
Expand description
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.
Implementations§
source§impl FlagsItemKind
impl FlagsItemKind
sourcepub fn is_negation(&self) -> bool
pub fn is_negation(&self) -> bool
Returns true if and only if this item is a negation operator.
Trait Implementations§
source§impl Clone for FlagsItemKind
impl Clone for FlagsItemKind
source§fn clone(&self) -> FlagsItemKind
fn clone(&self) -> FlagsItemKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more