pub struct Argv { /* private fields */ }Expand description
Words a parse entry point can borrow.
parse_from takes &[&OsStr], which a test cannot write as a literal: the
OsStrings have to outlive the slice pointing at them. This owns them, and Argv::words
is the slice.
Implementations§
Trait Implementations§
impl Eq for Argv
impl StructuralPartialEq for Argv
Auto Trait Implementations§
impl Freeze for Argv
impl RefUnwindSafe for Argv
impl Send for Argv
impl Sync for Argv
impl Unpin for Argv
impl UnsafeUnpin for Argv
impl UnwindSafe for Argv
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