Enum mortal::terminal::CursorMode
source · pub enum CursorMode {
Normal,
Invisible,
Overwrite,
}
Expand description
Represents the visual appearance of the cursor in the terminal
Some cursor states may not be available on all systems.
Variants§
Trait Implementations§
source§impl Clone for CursorMode
impl Clone for CursorMode
source§fn clone(&self) -> CursorMode
fn clone(&self) -> CursorMode
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 CursorMode
impl Debug for CursorMode
source§impl PartialEq<CursorMode> for CursorMode
impl PartialEq<CursorMode> for CursorMode
source§fn eq(&self, other: &CursorMode) -> bool
fn eq(&self, other: &CursorMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.