Struct pepper::command::CommandArgs
source · [−]pub struct CommandArgs<'command>(_);
Implementations
sourceimpl<'command> CommandArgs<'command>
impl<'command> CommandArgs<'command>
pub fn try_next(&mut self) -> Option<&'command str>
pub fn next(&mut self) -> Result<&'command str, CommandError>
pub fn assert_empty(&mut self) -> Result<(), CommandError>
Auto Trait Implementations
impl<'command> RefUnwindSafe for CommandArgs<'command>
impl<'command> Send for CommandArgs<'command>
impl<'command> Sync for CommandArgs<'command>
impl<'command> Unpin for CommandArgs<'command>
impl<'command> UnwindSafe for CommandArgs<'command>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more