Enum term_model::ansi::CursorStyle
source · 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
source§fn eq(&self, other: &CursorStyle) -> bool
fn eq(&self, other: &CursorStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)