[][src]Enum ncursesw::CursorType

pub enum CursorType {
    Invisible,
    Visible,
    VeryVisible,
}

Cursor type.

Variants

Invisible

Makes the cursor invisible. Supported on most terminals.

Visible

Makes the cursor visible.

VeryVisible

Makes the cursor "highly" visible in some way. Not supported on all terminals.

Trait Implementations

impl Clone for CursorType[src]

impl Copy for CursorType[src]

impl Debug for CursorType[src]

impl Default for CursorType[src]

fn default() -> Self[src]

The default cursor type

Example

extern crate ncursesw;

use ncursesw::*;

assert_eq!(CursorType::default(), CursorType::Visible);

impl Eq for CursorType[src]

impl Hash for CursorType[src]

impl PartialEq<CursorType> for CursorType[src]

impl StructuralEq for CursorType[src]

impl StructuralPartialEq for CursorType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.