pub enum Tags<'a> {
Long {
long: &'a str,
},
Short {
short: char,
},
LongShort {
long: &'a str,
short: char,
},
}Expand description
The set of tags that identify a particular option (-short, --long)
Variants§
Long
This parameter uses only a long tag
Short
This parameter uses only a short tag
LongShort
This parameter uses both a long and short tag
Implementations§
Trait Implementations§
impl<'a> Copy for Tags<'a>
Auto Trait Implementations§
impl<'a> Freeze for Tags<'a>
impl<'a> RefUnwindSafe for Tags<'a>
impl<'a> Send for Tags<'a>
impl<'a> Sync for Tags<'a>
impl<'a> Unpin for Tags<'a>
impl<'a> UnwindSafe for Tags<'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