pub enum Retrieved {
TerminalSize(u16, u16),
CursorPosition(u16, u16),
Event(Option<Event>),
}
Expand description
A result that is returned from a request for a Value.
A Value can be retrieved with Terminal::get.
Variants§
TerminalSize(u16, u16)
The terminal size is returned number of (column, row)s.
CursorPosition(u16, u16)
The cursor position is returned (column, row). The top left cell is represented 0,0.
Event(Option<Event>)
An event is returned.
Timeout occurred if None
is returned.
Auto Trait Implementations§
impl Freeze for Retrieved
impl RefUnwindSafe for Retrieved
impl Send for Retrieved
impl Sync for Retrieved
impl Unpin for Retrieved
impl UnwindSafe for Retrieved
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more