Crate cinputs

Source
Expand description

Crate for easy import parsing and constraint applying

Modules§

basic_constraints
Implements simple constraint types
constraints
Constraint trait definition
error
Defines error type for crate
prelude
Imports most important functions

Functions§

cinput
Read from Stdin, string is parsed into T, then a constraint is applied
cread_stream
Read from a BufReader one line, string is parsed into T, then a constraint is applied
cstring_input
No no a CString, string is parsed into T, then a constraint is applied
input
Read from Stdin, string is parsed into T
read_stream
Read from a BufReader one line, string is parsed into T
string_input
String is parsed into T