pub struct Session<W: Write> { /* private fields */ }Expand description
An alternate-screen session. Drop leaves the screen, whatever ended it: normal return, error, panic.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<W> Forget for Session<W>
impl<W> Freeze for Session<W>
impl<W> Move for Session<W>
impl<W> RefUnwindSafe for Session<W>where
Option<W>: RefUnwindSafe,
impl<W> Send for Session<W>
impl<W> Sync for Session<W>
impl<W> Unpin for Session<W>
impl<W> UnsafeUnpin for Session<W>where
Option<W>: UnsafeUnpin,
impl<W> UnwindSafe for Session<W>where
Option<W>: UnwindSafe,
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