Struct crossterm::cursor::SetCursorShape [−][src]
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
Write an ANSI representation of this command to the given writer. An ANSI code can manipulate the terminal by writing it to the terminal buffer. However, only Windows 10 and UNIX systems support this. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetCursorShape
impl Send for SetCursorShape
impl Sync for SetCursorShape
impl Unpin for SetCursorShape
impl UnwindSafe for SetCursorShape
Blanket Implementations
Mutably borrows from an owned value. Read more