pub struct Opt { /* private fields */ }
Expand description
Arguments that take values.
Implementations
sourceimpl Opt
impl Opt
sourcepub fn default_value(self, default: &str) -> Self
pub fn default_value(self, default: &str) -> Self
Set the default value.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Opt
impl Send for Opt
impl Sync for Opt
impl Unpin for Opt
impl UnwindSafe for Opt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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