[][src]Struct codejam::Scanner

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

Methods

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

pub fn new(read: R) -> Scanner<R>
[src]

pub fn next<T: FromStr>(&mut self) -> T
[src]

pub fn next_to_end_of_line<T: FromStr>(&mut self) -> Vec<T>
[src]

pub fn next_bytes(&mut self) -> Vec<u8>
[src]

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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