Enum text_terminal::ShowCursor
source · pub enum ShowCursor {
Visible,
Hidden,
}
Expand description
Whether the screen cursor is visible.
Variants§
Trait Implementations§
source§impl Clone for ShowCursor
impl Clone for ShowCursor
source§fn clone(&self) -> ShowCursor
fn clone(&self) -> ShowCursor
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 ShowCursor
impl Debug for ShowCursor
source§impl PartialEq<ShowCursor> for ShowCursor
impl PartialEq<ShowCursor> for ShowCursor
source§fn eq(&self, other: &ShowCursor) -> bool
fn eq(&self, other: &ShowCursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ShowCursor
impl Eq for ShowCursor
impl StructuralEq for ShowCursor
impl StructuralPartialEq for ShowCursor
Auto Trait Implementations§
impl RefUnwindSafe for ShowCursor
impl Send for ShowCursor
impl Sync for ShowCursor
impl Unpin for ShowCursor
impl UnwindSafe for ShowCursor
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