pub struct ProgramArgs { /* private fields */ }
Expand description
Builder for the command-line arguments for a program.
Implementations§
Source§impl ProgramArgs
impl ProgramArgs
Trait Implementations§
Source§impl Clone for ProgramArgs
impl Clone for ProgramArgs
Source§fn clone(&self) -> ProgramArgs
fn clone(&self) -> ProgramArgs
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 moreSource§impl Debug for ProgramArgs
impl Debug for ProgramArgs
Source§impl<S: Into<OsString>> Extend<S> for ProgramArgs
impl<S: Into<OsString>> Extend<S> for ProgramArgs
Source§fn extend<T: IntoIterator<Item = S>>(&mut self, iterable: T)
fn extend<T: IntoIterator<Item = S>>(&mut self, iterable: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl PartialEq for ProgramArgs
impl PartialEq for ProgramArgs
impl Eq for ProgramArgs
impl StructuralPartialEq for ProgramArgs
Auto Trait Implementations§
impl Freeze for ProgramArgs
impl RefUnwindSafe for ProgramArgs
impl Send for ProgramArgs
impl Sync for ProgramArgs
impl Unpin for ProgramArgs
impl UnwindSafe for ProgramArgs
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