pub enum TerminalCursorShape {
Block,
Underline,
Bar,
}Expand description
Requested cursor rendering shape.
§Examples
use ailloli_ui_terminal_core::TerminalCursorShape;
assert_ne!(TerminalCursorShape::Block, TerminalCursorShape::Bar);Variants§
Trait Implementations§
Source§impl Clone for TerminalCursorShape
impl Clone for TerminalCursorShape
Source§fn clone(&self) -> TerminalCursorShape
fn clone(&self) -> TerminalCursorShape
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 TerminalCursorShape
impl Debug for TerminalCursorShape
Source§impl<'de> Deserialize<'de> for TerminalCursorShape
impl<'de> Deserialize<'de> for TerminalCursorShape
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 PartialEq for TerminalCursorShape
impl PartialEq for TerminalCursorShape
Source§impl Serialize for TerminalCursorShape
impl Serialize for TerminalCursorShape
impl Copy for TerminalCursorShape
impl Eq for TerminalCursorShape
impl StructuralPartialEq for TerminalCursorShape
Auto Trait Implementations§
impl Freeze for TerminalCursorShape
impl RefUnwindSafe for TerminalCursorShape
impl Send for TerminalCursorShape
impl Sync for TerminalCursorShape
impl Unpin for TerminalCursorShape
impl UnwindSafe for TerminalCursorShape
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