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 moresource§impl Debug for FlagsItemKind
impl Debug for FlagsItemKind
source§impl PartialEq for FlagsItemKind
impl PartialEq for FlagsItemKind
impl Eq for FlagsItemKind
impl StructuralPartialEq for FlagsItemKind
Auto Trait Implementations§
impl Freeze for FlagsItemKind
impl RefUnwindSafe for FlagsItemKind
impl Send for FlagsItemKind
impl Sync for FlagsItemKind
impl Unpin for FlagsItemKind
impl UnwindSafe for FlagsItemKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)