pub struct Bin { /* private fields */ }
Expand description
Bin is a struct to store information about the reader and has the input functions.
Returns a String containing next line of stdin.
This function will panic if if fails to read a line.
Returns a (isize) int containing next line of stdin.
This function will panic if if fails to read a line, or if it fails to translate the next line to an integer.
This function will remove whitespace according to trim()
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.