Enum cursive_hexview::DisplayState[][src]

pub enum DisplayState {
    Disabled,
    Enabled,
    Editable,
}

Controls the possible interactions with a HexView.

This enum is used for the set_display_state method and controls the interaction inside of the cursive environment.

Variants

Disabled

The view can neither be focused, nor edited

Enabled

The view can be focused but not edited

Editable

The view can be focused and edited

Trait Implementations

impl Clone for DisplayState[src]

impl Copy for DisplayState[src]

impl Debug for DisplayState[src]

impl Eq for DisplayState[src]

impl Hash for DisplayState[src]

impl Ord for DisplayState[src]

impl PartialEq<DisplayState> for DisplayState[src]

impl PartialOrd<DisplayState> for DisplayState[src]

impl StructuralEq for DisplayState[src]

impl StructuralPartialEq for DisplayState[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> CallHasher for T where
    T: Hash + ?Sized

impl<T> Erased for T

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.

impl<T> With for T