pub struct RawTerminal { /* private fields */ }Expand description
A drop guard that applies raw mode to a terminal and restores the original settings when dropped.
The guard duplicates the target file descriptor so restoration still works even if the caller later drops the original handle.
Implementations§
Source§impl RawTerminal
impl RawTerminal
Trait Implementations§
Source§impl Debug for RawTerminal
impl Debug for RawTerminal
Source§impl Drop for RawTerminal
impl Drop for RawTerminal
Auto Trait Implementations§
impl Freeze for RawTerminal
impl RefUnwindSafe for RawTerminal
impl Send for RawTerminal
impl Sync for RawTerminal
impl Unpin for RawTerminal
impl UnsafeUnpin for RawTerminal
impl UnwindSafe for RawTerminal
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