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 strAuto Trait Implementations§
impl<'a> Freeze for Flag<'a>
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§
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