Struct std::io::Stdin [] [src]

pub struct Stdin;

Standard Input

Methods

impl Stdin

fn read_line(&mut self, string: &mut String) -> Result<usize>

Trait Implementations

impl Read for Stdin

Read implementation for standard input

fn read(&mut self, buf: &mut [u8]) -> Result<usize>

fn read_to_end(&mut self, vec: &mut Vec<u8>) -> Result<usize>

fn read_to_string(&mut self, string: &mut String) -> Result<usize>

fn bytes(&mut self) -> IntoIter<u8>