pub enum ArgName<'a> {
Short(char),
Long(&'a str),
}Expand description
Represents the name of an argument, used for identification and matching.
Variants§
Trait Implementations§
impl<'a> Copy for ArgName<'a>
impl<'a> StructuralPartialEq for ArgName<'a>
Auto Trait Implementations§
impl<'a> Freeze for ArgName<'a>
impl<'a> RefUnwindSafe for ArgName<'a>
impl<'a> Send for ArgName<'a>
impl<'a> Sync for ArgName<'a>
impl<'a> Unpin for ArgName<'a>
impl<'a> UnwindSafe for ArgName<'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