pub struct CliOption { /* private fields */ }Implementations§
Source§impl CliOption
impl CliOption
pub fn new( name: impl Into<String>, flags: CliOptionFlags, description: Option<impl Into<String>>, optional: bool, ) -> Self
pub fn add_argument(&mut self, argument: CliArgument) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliOption
impl RefUnwindSafe for CliOption
impl Send for CliOption
impl Sync for CliOption
impl Unpin for CliOption
impl UnsafeUnpin for CliOption
impl UnwindSafe for CliOption
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