pub enum CursorStyle {
Block,
Underline,
Beam,
HollowBlock,
Hidden,
}
Expand description
Describes shape of cursor
Variants§
Block
Cursor is a block like ▒
Underline
Cursor is an underscore like _
Beam
Cursor is a vertical bar ⎸
HollowBlock
Cursor is a box like ☐
Hidden
Invisible cursor
Trait Implementations§
Source§impl Clone for CursorStyle
impl Clone for CursorStyle
Source§fn clone(&self) -> CursorStyle
fn clone(&self) -> CursorStyle
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 Debug for CursorStyle
impl Debug for CursorStyle
Source§impl Default for CursorStyle
impl Default for CursorStyle
Source§fn default() -> CursorStyle
fn default() -> CursorStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CursorStyle
impl<'de> Deserialize<'de> for CursorStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CursorStyle
impl Hash for CursorStyle
Source§impl PartialEq for CursorStyle
impl PartialEq for CursorStyle
impl Copy for CursorStyle
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)