pub enum OptArg<'a> {
Short(u8, &'a str),
Long(&'a str, &'a str),
Arg(&'a str),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OptArg<'a>
impl<'a> RefUnwindSafe for OptArg<'a>
impl<'a> Send for OptArg<'a>
impl<'a> Sync for OptArg<'a>
impl<'a> Unpin for OptArg<'a>
impl<'a> UnwindSafe for OptArg<'a>
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