Module parkour::prelude [−][src]
A prelude to make it easier to import all the needed types and traits. Use it like this:
use parkour::prelude::*;
Re-exports
pub use crate::actions::Action; |
pub use crate::actions::Append; |
pub use crate::actions::Dec; |
pub use crate::actions::Inc; |
pub use crate::actions::Reset; |
pub use crate::actions::Set; |
pub use crate::actions::SetOnce; |
pub use crate::actions::SetPositional; |
pub use crate::actions::SetSubcommand; |
pub use crate::actions::Unset; |
pub use crate::util::ArgCtx; |
pub use crate::util::Flag; |
pub use crate::util::PosCtx; |
Structs
ListCtx | The parsing context for list-like types. This is used by the following types from the standard library: |
NumberCtx | The parsing context for numeric types. |
StringCtx | The parsing context for strings |
Traits
FromInput | Trait for extracting information from the command-line input. This is implemented for flags, positional and named arguments, subcommands, etc. |
FromInputValue | Trait for parsing a value. A value can be |
Parse | An extension trait of |
Derive Macros
FromInputValue |