pub struct SwitchBufferToNormal;
Expand description
Switches to the normal buffer.
§Examples
use std::io::{stdout, Write};
use anes::{SwitchBufferToAlternate, SwitchBufferToNormal};
let mut stdout = stdout();
write!(stdout, "{}", SwitchBufferToAlternate);
// Your app on alternate screen
write!(stdout, "{}", SwitchBufferToNormal);
Trait Implementations§
Source§impl Clone for SwitchBufferToNormal
impl Clone for SwitchBufferToNormal
Source§fn clone(&self) -> SwitchBufferToNormal
fn clone(&self) -> SwitchBufferToNormal
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SwitchBufferToNormal
impl Debug for SwitchBufferToNormal
Source§impl Display for SwitchBufferToNormal
impl Display for SwitchBufferToNormal
Source§impl Hash for SwitchBufferToNormal
impl Hash for SwitchBufferToNormal
Source§impl PartialEq for SwitchBufferToNormal
impl PartialEq for SwitchBufferToNormal
impl Copy for SwitchBufferToNormal
impl Eq for SwitchBufferToNormal
impl StructuralPartialEq for SwitchBufferToNormal
Auto Trait Implementations§
impl Freeze for SwitchBufferToNormal
impl RefUnwindSafe for SwitchBufferToNormal
impl Send for SwitchBufferToNormal
impl Sync for SwitchBufferToNormal
impl Unpin for SwitchBufferToNormal
impl UnwindSafe for SwitchBufferToNormal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes