Enum FlagsItemKind
pub enum FlagsItemKind
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
impl FlagsItemKind
fn is_negation(&self) -> boolReturns true if and only if this item is a negation operator.
Trait Implementations
impl Clone for FlagsItemKind
fn clone(&self) -> Self
impl Debug for FlagsItemKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for FlagsItemKind
impl PartialEq for FlagsItemKind
fn eq(&self, other: &Self) -> bool