[][src]Struct easy_io::input_reader::InputReader

pub struct InputReader<R: Read> { /* fields omitted */ }

Methods

impl InputReader<Stdin>[src]

pub fn new() -> Self[src]

impl InputReader<File>[src]

pub fn from_file(path: &str) -> Self[src]

impl<R: Read> InputReader<R>[src]

pub fn from_reader(reader: R) -> Self[src]

pub fn next_word(&mut self) -> &str[src]

pub fn next_line(&mut self) -> &str[src]

pub fn next_char(&mut self) -> char[src]

pub fn next_u64(&mut self) -> u64[src]

pub fn next_i64(&mut self) -> i64[src]

pub fn next_f64(&mut self) -> f64[src]

pub fn has_more(&mut self) -> bool[src]

pub fn set_buf_size(&mut self, buf_size: usize)[src]

pub fn next_f32(&mut self) -> f32[src]

pub fn next_i8(&mut self) -> i8[src]

pub fn next_i16(&mut self) -> i16[src]

pub fn next_i32(&mut self) -> i32[src]

pub fn next_u8(&mut self) -> u8[src]

pub fn next_u16(&mut self) -> u16[src]

pub fn next_u32(&mut self) -> u32[src]

pub fn next_usize(&mut self) -> usize[src]

Auto Trait Implementations

impl<R> Send for InputReader<R> where
    R: Send

impl<R> Sync for InputReader<R> where
    R: Sync

impl<R> Unpin for InputReader<R> where
    R: Unpin

impl<R> UnwindSafe for InputReader<R> where
    R: UnwindSafe

impl<R> RefUnwindSafe for InputReader<R> where
    R: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]