pub trait Getable {
fn get(&self, _: &str) -> Option<String>;
fn is_present(&self, s: &str) -> bool { ... }
fn localize(&self, p: &Path) -> PathBuf { ... }
}
Required Methods§
Provided Methods§
sourcefn is_present(&self, s: &str) -> bool
fn is_present(&self, s: &str) -> bool
Present exists to make it possible to check if a non key-value flag like “–help” is marked