pub struct InputReader { /* private fields */ }
Expand description
Supports reading from an input file.
Implementations§
Source§impl InputReader
impl InputReader
Sourcepub fn read_next_line(&mut self) -> &str
pub fn read_next_line(&mut self) -> &str
Reads a line of text from the input file, consuming the end-of-line marker if one is present.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputReader
impl RefUnwindSafe for InputReader
impl Send for InputReader
impl Sync for InputReader
impl Unpin for InputReader
impl UnwindSafe for InputReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more