Struct app::Opt
[−]
[src]
pub struct Opt<'app> { /* fields omitted */ }
Option struct
pub struct Opt<'app> { /* fields omitted */ }
Option struct
impl<'app> Opt<'app>
[src]fn new<'s: 'app, V>(name: &'app str, value: V) -> Self where V: OptValueParse<'app>
fn short(self, short: &'app str) -> Self
fn long(self, long: &'app str) -> Self
fn help(self, help: &'app str) -> Self
impl<'app> Opt<'app>
[src]fn is_bool(&self) -> bool
fn name_get(&self) -> &'app str
fn short_get(&self) -> Option<String>
fn long_get(&self) -> Option<String>
fn help_get(&self) -> &str
impl<'app> Debug for Opt<'app>
[src]