pub enum CommandArgument {
Named(String, CommandArgumentValue),
Positioned(usize, CommandArgumentValue),
}Expand description
Command argument
Variants§
Named(String, CommandArgumentValue)
Named argument
Positioned(usize, CommandArgumentValue)
Positional argument
Trait Implementations§
Source§impl Debug for CommandArgument
impl Debug for CommandArgument
Source§impl PartialEq for CommandArgument
impl PartialEq for CommandArgument
impl StructuralPartialEq for CommandArgument
Auto Trait Implementations§
impl Freeze for CommandArgument
impl RefUnwindSafe for CommandArgument
impl Send for CommandArgument
impl Sync for CommandArgument
impl Unpin for CommandArgument
impl UnwindSafe for CommandArgument
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