pub struct BracketCommand;Expand description
The [ command: evaluate conditional expressions (requires closing ]).
Trait Implementations§
Source§impl VirtualCommand for BracketCommand
impl VirtualCommand for BracketCommand
fn name(&self) -> &str
fn meta(&self) -> Option<&'static CommandMeta>
fn execute(&self, args: &[String], ctx: &CommandContext<'_>) -> CommandResult
Auto Trait Implementations§
impl Freeze for BracketCommand
impl RefUnwindSafe for BracketCommand
impl Send for BracketCommand
impl Sync for BracketCommand
impl Unpin for BracketCommand
impl UnsafeUnpin for BracketCommand
impl UnwindSafe for BracketCommand
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