Enum makeup::CursorStyle
source · pub enum CursorStyle {
Block,
Bar,
HollowBlock,
}
Expand description
Terminal cursor styles.
Variants§
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 Hash for CursorStyle
impl Hash for CursorStyle
source§impl Ord for CursorStyle
impl Ord for CursorStyle
source§fn cmp(&self, other: &CursorStyle) -> Ordering
fn cmp(&self, other: &CursorStyle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
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 ==
.source§impl PartialOrd for CursorStyle
impl PartialOrd for CursorStyle
source§fn partial_cmp(&self, other: &CursorStyle) -> Option<Ordering>
fn partial_cmp(&self, other: &CursorStyle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CursorStyle
impl StructuralEq for CursorStyle
impl StructuralPartialEq for CursorStyle
Auto Trait Implementations§
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