[−][src]Struct tuikit::input::KeyBoard
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,