[][src]Struct tuikit::input::KeyBoard

pub struct KeyBoard { /* fields omitted */ }

Implementations

impl KeyBoard[src]

pub fn new(file: Box<dyn ReadAndAsRawFd>) -> Self[src]

pub fn new_with_tty() -> Self[src]

pub fn raw_mouse(self, raw_mouse: bool) -> Self[src]

pub fn get_interrupt_handler(&self) -> KeyboardHandler[src]

pub fn next_key(&mut self) -> Result<Key>[src]

pub fn next_key_timeout(&mut self, timeout: Duration) -> Result<Key>[src]

Auto Trait Implementations

impl !RefUnwindSafe for KeyBoard

impl Send for KeyBoard

impl !Sync for KeyBoard

impl Unpin for KeyBoard

impl !UnwindSafe for KeyBoard

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.