[][src]Module read_input::shortcut

Collection of functions that make things a little less verbose.

Traits

DefaultBuilderSettings

Trait for describing specifically tailored input settings for types.

Functions

input

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

input_d

Creates a new instance of InputBuilder with settings specifically tailored to the type you want.

input_inside

Shortcut function. Fetches input that is within a range, array or vector.

simple_input

Shortcut function. Fetches input that is valid for whatever type needed.

valid_input

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

with_descriptionDeprecated

Produces an error message from an error type. Made for use in .err_match()

with_display

Produces an error message from an error type. Made for use in .err_match()