[][src]Struct rcin::rin

pub struct rin { /* fields omitted */ }

Global stdin stream instance

Methods from Deref<Target = RCin>

pub fn read<T: FromStr>(&self) -> Option<T>[src]

Read value

pub fn read_line(&self) -> Option<String>[src]

Read line

pub fn skip_line(&self)[src]

Skip all chars until next newline

pub fn read_char(&self) -> Option<char>[src]

Read the next character (can be whitespace)

Trait Implementations

impl Clone for rin[src]

impl Copy for rin[src]

impl Deref for rin[src]

type Target = RCin

The resulting type after dereferencing.

impl LazyStatic for rin[src]

impl<'_, T> Shr<&'_ mut T> for rin where
    T: FromStr
[src]

type Output = bool

The resulting type after applying the >> operator.

Auto Trait Implementations

impl RefUnwindSafe for rin

impl Send for rin

impl Sync for rin

impl Unpin for rin

impl UnwindSafe for rin

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.