pub struct RawArgs { /* private fields */ }Implementations§
Source§impl RawArgs
impl RawArgs
Sourcepub fn metadata_mut(&mut self) -> &mut Metadata
pub fn metadata_mut(&mut self) -> &mut Metadata
Returns a mutable reference of the metadata.
Sourcepub fn remaining_args(&self) -> impl '_ + Iterator<Item = (usize, &str)>
pub fn remaining_args(&self) -> impl '_ + Iterator<Item = (usize, &str)>
Returns an iterator that iterates over unconsumed (not taken) raw arguments and their indices.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawArgs
impl RefUnwindSafe for RawArgs
impl Send for RawArgs
impl Sync for RawArgs
impl Unpin for RawArgs
impl UnwindSafe for RawArgs
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