pub enum CursorShape {
Block,
Bar,
Underline,
}Expand description
How the grid’s cursor is drawn, in the colour given with it.
Variants§
Block
The whole cell, painted under its glyph.
Bar
A two-pixel bar at the cell’s left edge.
Underline
A two-pixel line along the cell’s bottom.
Implementations§
Trait Implementations§
Source§impl Clone for CursorShape
impl Clone for CursorShape
impl Copy for CursorShape
Source§impl Debug for CursorShape
impl Debug for CursorShape
impl Eq for CursorShape
Source§impl PartialEq for CursorShape
impl PartialEq for CursorShape
impl StructuralPartialEq for CursorShape
Auto Trait Implementations§
impl Freeze for CursorShape
impl RefUnwindSafe for CursorShape
impl Send for CursorShape
impl Sync for CursorShape
impl Unpin for CursorShape
impl UnsafeUnpin for CursorShape
impl UnwindSafe for CursorShape
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.