pub struct RawInput(/* private fields */);Expand description
Raw keyboard input for the duration of the guard: the controlling
terminal delivers bytes one at a time, with Ctrl-C, q and Esc
arriving as plain bytes instead of signals, and the saved state
restores on drop whatever ends the run.
Implementations§
Auto Trait Implementations§
impl Forget for RawInput
impl Freeze for RawInput
impl Move for RawInput
impl RefUnwindSafe for RawInput
impl Send for RawInput
impl Sync for RawInput
impl Unpin for RawInput
impl UnsafeUnpin for RawInput
impl UnwindSafe for RawInput
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