pub struct Flag<'a> {
pub option_names: &'static [&'static str],
pub argument_descriptions: &'static [&'static str],
pub field: &'a mut dyn FlagParser,
pub description: &'static str,
}
Fields
option_names: &'static [&'static str]
argument_descriptions: &'static [&'static str]
field: &'a mut dyn FlagParser
description: &'static str
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Flag<'a>
impl<'a> !Send for Flag<'a>
impl<'a> !Sync for Flag<'a>
impl<'a> Unpin for Flag<'a>
impl<'a> !UnwindSafe for Flag<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more