[][src]Struct util_rs::Input

pub struct Input<'msg> { /* fields omitted */ }

Implementations

impl<'msg> Input<'msg>[src]

pub fn msg(mut self: Self, msg: &'msg str) -> Self[src]

impl Input<'_>[src]

pub fn new() -> Self[src]

pub fn get<T: FromStr>(&mut self) -> Result<T, T::Err>[src]

impl Input<'_>[src]

pub fn read<T: FromStr>(&mut self) -> Result<T, T::Err>[src]

pub fn read_line<T: FromStr>(&mut self) -> Result<T, T::Err>[src]

Trait Implementations

impl<'msg> Debug for Input<'msg>[src]

impl Default for Input<'_>[src]

Auto Trait Implementations

impl<'msg> RefUnwindSafe for Input<'msg>[src]

impl<'msg> Send for Input<'msg>[src]

impl<'msg> Sync for Input<'msg>[src]

impl<'msg> Unpin for Input<'msg>[src]

impl<'msg> UnwindSafe for Input<'msg>[src]

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, 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.