Enum makeup::CursorVisibility
source · pub enum CursorVisibility {
Visible,
Invisible,
}
Expand description
Terminal cursor visibility.
Variants§
Trait Implementations§
source§impl Clone for CursorVisibility
impl Clone for CursorVisibility
source§fn clone(&self) -> CursorVisibility
fn clone(&self) -> CursorVisibility
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 CursorVisibility
impl Debug for CursorVisibility
source§impl Hash for CursorVisibility
impl Hash for CursorVisibility
source§impl Ord for CursorVisibility
impl Ord for CursorVisibility
source§fn cmp(&self, other: &CursorVisibility) -> Ordering
fn cmp(&self, other: &CursorVisibility) -> 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 CursorVisibility
impl PartialEq for CursorVisibility
source§fn eq(&self, other: &CursorVisibility) -> bool
fn eq(&self, other: &CursorVisibility) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CursorVisibility
impl PartialOrd for CursorVisibility
source§fn partial_cmp(&self, other: &CursorVisibility) -> Option<Ordering>
fn partial_cmp(&self, other: &CursorVisibility) -> 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 CursorVisibility
impl StructuralEq for CursorVisibility
impl StructuralPartialEq for CursorVisibility
Auto Trait Implementations§
impl RefUnwindSafe for CursorVisibility
impl Send for CursorVisibility
impl Sync for CursorVisibility
impl Unpin for CursorVisibility
impl UnwindSafe for CursorVisibility
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