Expand description
§Quick Input
This lightweight library offers a quick and easy way of handling user input, which can then be assigned to a variable directly. All functions handle the possibility of invalid values by looping until the desired type is inputted.
Both an initial prompt message and error message are customisable and optional. If the error message is left empty (None), a default error message will be displayed (relaying on the default message should be avoided when possible).
§Author
- Kevin Claramonte Soler (kevclasol@proton.me).
- 16/03/2025
Macros§
Functions§
- read_
bool - ARGUMENTS
- read_
char - ARGUMENTS
- read_
char_ no_ msg - DESCRIPTION
- read_
f32 - ARGUMENTS
- read_
f64 - ARGUMENTS
- read_
f64_ def_ err - ARGUMENTS
- read_i8
- ARGUMENTS
- read_
i16 - ARGUMENTS
- read_
i32 Deprecated - ARGUMENTS
- read_
i64 - ARGUMENTS
- read_
i32_ def_ err - ARGUMENTS
- read_
i128 - ARGUMENTS
- read_
isize - ARGUMENTS
- read_
string Deprecated - ARGUMENTS
- read_
string_ no_ msg - DESCRIPTION
- read_
string_ untrimmed - ARGUMENTS
- read_u8
- ARGUMENTS
- read_
u16 - ARGUMENTS
- read_
u32 - ARGUMENTS
- read_
u64 - ARGUMENTS
- read_
u32_ def_ err - ARGUMENTS
- read_
u128 - ARGUMENTS
- read_
usize - ARGUMENTS