Struct pepper::command::CommandArgs
source · pub struct CommandArgs<'command>(_);
Implementations§
source§impl<'command> CommandArgs<'command>
impl<'command> CommandArgs<'command>
pub fn try_next(&mut self) -> Option<&'command str>
pub fn next(&mut self) -> Result<&'command str, CommandArgsError>
pub fn assert_empty(&mut self) -> Result<(), CommandArgsError>
Trait Implementations§
source§impl<'command> Clone for CommandArgs<'command>
impl<'command> Clone for CommandArgs<'command>
source§fn clone(&self) -> CommandArgs<'command>
fn clone(&self) -> CommandArgs<'command>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more