pub enum CursorShape {
Block,
Underline,
Bar,
}Expand description
Cursor shape variants.
Variants§
Trait Implementations§
Source§impl Clone for CursorShape
impl Clone for CursorShape
Source§fn clone(&self) -> CursorShape
fn clone(&self) -> CursorShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CursorShape
Source§impl Debug for CursorShape
impl Debug for CursorShape
Source§impl Default for CursorShape
impl Default for CursorShape
impl Eq for CursorShape
Source§impl PartialEq for CursorShape
impl PartialEq for CursorShape
Source§fn eq(&self, other: &CursorShape) -> bool
fn eq(&self, other: &CursorShape) -> bool
Tests for
self and other values to be equal, and is used by ==.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