Trait termion::input::TermRead [−][src]
pub trait TermRead {
fn events(self) -> Events<Self>ⓘ
where
Self: Sized;
fn keys(self) -> Keys<Self>ⓘ
where
Self: Sized;
fn read_line(&mut self) -> Result<Option<String>>;
fn read_passwd<W: Write>(
&mut self,
writer: &mut W
) -> Result<Option<String>> { ... }
}Expand description
Extension to Read trait.
Required methods
An iterator over input events.
An iterator over key inputs.