Struct crossterm::cursor::SetCursorShape
source · pub struct SetCursorShape(pub CursorShape);
Expand description
A command that sets the shape of the cursor
Note
- Commands must be executed/queued for execution otherwise they do nothing.
Tuple Fields§
§0: CursorShape
Trait Implementations§
source§impl Clone for SetCursorShape
impl Clone for SetCursorShape
source§fn clone(&self) -> SetCursorShape
fn clone(&self) -> SetCursorShape
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 Command for SetCursorShape
impl Command for SetCursorShape
source§impl Debug for SetCursorShape
impl Debug for SetCursorShape
source§impl Display for SetCursorShape
impl Display for SetCursorShape
source§impl PartialEq<SetCursorShape> for SetCursorShape
impl PartialEq<SetCursorShape> for SetCursorShape
source§fn eq(&self, other: &SetCursorShape) -> bool
fn eq(&self, other: &SetCursorShape) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.