pub enum CommandFlag {
Force,
}Expand description
Enumeration of possible command flags
Represents command modifier flags. At the moment, the only modifier is the Force flag (“!”)
Variants§
Force
The modifier flag which tells the command parser that the command should be executed with force, typically bypassing certain safeguards
Trait Implementations§
Source§impl Debug for CommandFlag
impl Debug for CommandFlag
Source§impl PartialEq for CommandFlag
impl PartialEq for CommandFlag
impl StructuralPartialEq for CommandFlag
Auto Trait Implementations§
impl Freeze for CommandFlag
impl RefUnwindSafe for CommandFlag
impl Send for CommandFlag
impl Sync for CommandFlag
impl Unpin for CommandFlag
impl UnsafeUnpin for CommandFlag
impl UnwindSafe for CommandFlag
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