Expand description
Utility functions for reading from stdin.
Functionsยง
- parse
- Reads bytes from
stdininto a String. - parse_
line - Short-hand for
parse(true). - read
- Reads bytes from
stdininto a String. - read_
bytes - Reads bytes from
stdin. - unwrap
- Unwraps the given
Option<T>or reads stdin into a String and parses it asT. - unwrap2
- Shortcut for
(unwrap(a), unwrap(b)). - unwrap_
line - Short-hand for
unwrap(value, true). - unwrap_
vec - Reads stdin into a String and parses it as
Vec<T>using whitespaces as delimiters if the givenVec<T>is empty.