pub enum CursorStyle {
Block,
Bar,
Underline,
}Expand description
The shape of the terminal cursor.
Variants§
Block
A filled block (the classic terminal cursor).
Bar
A thin vertical bar (the usual editor default).
Underline
An underscore under the character.
Implementations§
Trait Implementations§
Source§impl Clone for CursorStyle
impl Clone for CursorStyle
impl Copy for CursorStyle
Source§impl Debug for CursorStyle
impl Debug for CursorStyle
impl Eq for CursorStyle
Source§impl PartialEq for CursorStyle
impl PartialEq for CursorStyle
impl StructuralPartialEq for CursorStyle
Auto Trait Implementations§
impl Freeze for CursorStyle
impl RefUnwindSafe for CursorStyle
impl Send for CursorStyle
impl Sync for CursorStyle
impl Unpin for CursorStyle
impl UnsafeUnpin for CursorStyle
impl UnwindSafe for CursorStyle
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