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