pub struct Command {
pub index: usize,
pub params: Vec<Param>,
pub suffixes: Vec<u32>,
}Expand description
A single parsed command ready for dispatch.
Fields§
§index: usizeIndex into the table that was passed to CommandSet::from_table.
params: Vec<Param>Parameter values extracted from the input.
suffixes: Vec<u32>Numeric suffix values (# placeholders), in order of appearance.
Defaults to 1 when the user omits the suffix digit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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