pub struct HideCursor;
Expand description
Hides the cursor.
Use the ShowCursor
sequence to show the cursor.
§Examples
use std::io::{stdout, Write};
use anes::HideCursor;
let mut stdout = stdout();
// Hide cursor
write!(stdout, "{}", HideCursor);
Trait Implementations§
Source§impl Clone for HideCursor
impl Clone for HideCursor
Source§fn clone(&self) -> HideCursor
fn clone(&self) -> HideCursor
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 HideCursor
impl Debug for HideCursor
Source§impl Display for HideCursor
impl Display for HideCursor
Source§impl Hash for HideCursor
impl Hash for HideCursor
Source§impl PartialEq for HideCursor
impl PartialEq for HideCursor
impl Copy for HideCursor
impl Eq for HideCursor
impl StructuralPartialEq for HideCursor
Auto Trait Implementations§
impl Freeze for HideCursor
impl RefUnwindSafe for HideCursor
impl Send for HideCursor
impl Sync for HideCursor
impl Unpin for HideCursor
impl UnwindSafe for HideCursor
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