Struct arguments::Arguments
[−]
[src]
pub struct Arguments {
pub program: String,
pub options: Options,
pub orphans: Vec<String>,
}Command-line arguments.
Fields
program: String
The name of the executable.
options: Options
Raw options (all strings).
orphans: Vec<String>
Unclassified arguments.
Methods
impl Arguments[src]
fn get<T: Any + Clone + FromStr>(&self, name: &str) -> Option<T>
Get the value of an option (if present) converted to a specific type (if possible).