pub struct InputActor { /* private fields */ }Expand description
Input actor that polls terminal events.
Implementations§
Source§impl InputActor
impl InputActor
Sourcepub fn spawn(sender: Sender<InputEvent>, poll_timeout: Duration) -> Self
pub fn spawn(sender: Sender<InputEvent>, poll_timeout: Duration) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputActor
impl !RefUnwindSafe for InputActor
impl Send for InputActor
impl Sync for InputActor
impl Unpin for InputActor
impl !UnwindSafe for InputActor
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