Struct CommandArgs
struct CommandArgs<'a> { ... }
An iterator over the command arguments.
This struct is created by Command::get_args. See its documentation for
more.
Implementations
impl<'a> Debug for CommandArgs<'a>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'a> ExactSizeIterator for CommandArgs<'a>
fn len(self: &Self) -> usizefn is_empty(self: &Self) -> bool
impl<'a> Freeze for CommandArgs<'a>
impl<'a> Iterator for CommandArgs<'a>
fn next(self: &mut Self) -> Option<&'a OsStr>fn size_hint(self: &Self) -> (usize, Option<usize>)
impl<'a> RefUnwindSafe for CommandArgs<'a>
impl<'a> Send for CommandArgs<'a>
impl<'a> Sync for CommandArgs<'a>
impl<'a> Unpin for CommandArgs<'a>
impl<'a> UnwindSafe for CommandArgs<'a>
impl<I> IntoIterator for CommandArgs<'a>
fn into_iter(self: Self) -> I
impl<T> Any for CommandArgs<'a>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for CommandArgs<'a>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for CommandArgs<'a>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for CommandArgs<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for CommandArgs<'a>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for CommandArgs<'a>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for CommandArgs<'a>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>