Struct Args
pub struct Args { pub(in ::sys::args::common) iter: IntoIter<OsString> }
Fields
iter: IntoIter<OsString>
Implementations
impl Args
fn new(args: Vec<OsString>) -> Self
Trait Implementations
impl !Send for Args
impl !Sync for Args
impl Debug for Args
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl DoubleEndedIterator for Args
fn next_back(&mut self) -> Option<OsString>fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
impl ExactSizeIterator for Args
fn len(&self) -> usizefn is_empty(&self) -> bool
impl Iterator for Args
type Item = OsString;fn next(&mut self) -> Option<OsString>fn next_chunk<const N: usize>(&mut self) -> Result<[OsString; N], IntoIter<OsString, N>>fn size_hint(&self) -> (usize, Option<usize>)fn count(self) -> usizefn last(self) -> Option<OsString>fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R where F: FnMut(B, Self::Item) -> R, R: Try<Output = B>,fn fold<B, F>(self, init: B, f: F) -> B where F: FnMut(B, Self::Item) -> B,
Auto Trait Implementations
impl Freeze for Args
impl RefUnwindSafe for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
Blanket Implementations
impl<I> IntoIterator for Args
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for Args
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Args
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Args
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Args
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for Args
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Args
impl<T, U> Into<U> for Args
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Args
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Args
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>