Struct argonaut::PartialArgDef [] [src]

#[must_use = "The argument definition is only partially constructed"]
pub struct PartialArgDef<T: Borrow<str>> { pub name: OptName<T>, }

A partially specified argument definition.

Fields

The name that was specified for this argument.

Methods

impl<T: Borrow<str>> PartialArgDef<T>
[src]

Creates a new switch definition.

Creates a new option definition. This is a type of flag that takes a single parameter.