Struct ap::Args [−][src]
pub struct Args { /* fields omitted */ }Represents a collection of arguments.
Implementations
impl Args[src]
impl Args[src]pub fn new() -> Self[src]
Create a new argument collection.
pub fn add(&mut self, arg: Arg)[src]
Register a single argument.
pub fn exists(&self, option: &char) -> bool[src]
Determine if an Arg with the specified option name has been registered.
pub fn get(&self, option: char) -> Option<Arg>[src]
Returns the Arg with the specified option name.
Trait Implementations
impl StructuralEq for Args[src]
impl StructuralEq for Args[src]impl StructuralPartialEq for Args[src]
impl StructuralPartialEq for Args[src]Auto Trait Implementations
impl !RefUnwindSafe for Args
impl !RefUnwindSafe for Argsimpl !UnwindSafe for Args
impl !UnwindSafe for Args