[−][src]Trait entrance::Arguments
A trait for parsing and containing arguments.
Example
use entrance::Arguments; use std::path::PathBuf; #[derive(Arguments)] struct Args { #[description = "The number of lines"] num: f64, #[description = "Path to a file"] file: PathBuf, }
Required methods
fn parse<I: Iterator<Item = String>>(args: I) -> Result<Self>
fn spec() -> &'static [Arg]
This associated function is for HelpDisplay
.