pub enum CliArgument<'a> {
String(&'a mut String, &'static str, &'static str),
StringConst(&'a mut String, &'a mut str, &'static str, &'static str),
Boolean(&'a mut bool, &'static str, &'static str),
BooleanConst(&'a mut bool, bool, &'static str, &'static str),
}
Variants§
String(&'a mut String, &'static str, &'static str)
StringConst(&'a mut String, &'a mut str, &'static str, &'static str)
Boolean(&'a mut bool, &'static str, &'static str)
BooleanConst(&'a mut bool, bool, &'static str, &'static str)
Trait Implementations§
Source§impl CliExtensions for CliArgument<'_>
impl CliExtensions for CliArgument<'_>
fn prepare<'a>(self, _parser: &mut ArgumentParser<'a>)where
Self: 'a,
Auto Trait Implementations§
impl<'a> Freeze for CliArgument<'a>
impl<'a> RefUnwindSafe for CliArgument<'a>
impl<'a> Send for CliArgument<'a>
impl<'a> Sync for CliArgument<'a>
impl<'a> Unpin for CliArgument<'a>
impl<'a> !UnwindSafe for CliArgument<'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