Module read_input::shortcut[][src]

Expand description

Collection of functions that make things a little less verbose.

Using input().get() can be a little verbose in simple situations.

Traits

Trait for describing specifically tailored input settings for types.

Functions

Creates a new instance of InputBuilder with generic, minimal settings.

input_d works like input but uses the default input settings that are specified by the DefaultBuilderSettings trait.

input_inside(..) is the same as input().inside(..).get().

simple_input() is the same as input().get().

Shortcut function. Fetches input that is validated with a test function.

Produces an error message from an error type. Made for use in InputBuild::err_match

This function can be used if Err associated type for the FromStr implementation for the type you are using implements Display. This can give quick error messages.