termion::input

Trait TermReadEventsAndRaw

Source
pub trait TermReadEventsAndRaw {
    // Required method
    fn events_and_raw(self) -> EventsAndRaw<Self> 
       where Self: Sized;
}
Expand description

Extension to TermRead trait. A separate trait in order to maintain backwards compatibility.

Required Methods§

Source

fn events_and_raw(self) -> EventsAndRaw<Self>
where Self: Sized,

An iterator over input events and the bytes that define them.

Implementors§