Enum regex_syntax::ast::FlagsItemKind [−][src]
pub enum FlagsItemKind {
Negation,
Flag(Flag),
}The kind of an item in a group of flags.
Variants
NegationA negation operator applied to all subsequent flags in the enclosing group.
Flag(Flag)A single flag in a group.
Methods
impl FlagsItemKind[src]
impl FlagsItemKindpub fn is_negation(&self) -> bool[src]
pub fn is_negation(&self) -> boolReturns true if and only if this item is a negation operator.
Trait Implementations
impl Clone for FlagsItemKind[src]
impl Clone for FlagsItemKindfn clone(&self) -> FlagsItemKind[src]
fn clone(&self) -> FlagsItemKindReturns 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 FlagsItemKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for FlagsItemKind[src]
impl Eq for FlagsItemKindimpl PartialEq for FlagsItemKind[src]
impl PartialEq for FlagsItemKindfn eq(&self, other: &FlagsItemKind) -> bool[src]
fn eq(&self, other: &FlagsItemKind) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for FlagsItemKind
impl Send for FlagsItemKindimpl Sync for FlagsItemKind
impl Sync for FlagsItemKind