Enum reedline::PromptEditMode[][src]

pub enum PromptEditMode {
    Default,
    Emacs,
    Vi(PromptViMode),
    Custom(String),
}
Expand description

Modes that the prompt can be in

Variants

Default

The default mode

Emacs

Emacs normal mode

A vi-specific mode

Tuple Fields of Vi

0: PromptViMode
Custom(String)

A custom mode

Tuple Fields of Custom

0: String

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.