pub struct Emacs { /* private fields */ }
Expand description
This parses the incoming Events like a emacs style-editor
Implementations
sourceimpl Emacs
impl Emacs
sourcepub fn new(keybindings: Keybindings) -> Self
pub fn new(keybindings: Keybindings) -> Self
Emacs style input parsing constructor if you want to use custom keybindings
Trait Implementations
sourceimpl EditMode for Emacs
impl EditMode for Emacs
sourcefn parse_event(&mut self, event: Event) -> ReedlineEvent
fn parse_event(&mut self, event: Event) -> ReedlineEvent
Translate the given user input event into what the LineEditor
understands
sourcefn edit_mode(&self) -> PromptEditMode
fn edit_mode(&self) -> PromptEditMode
What to display in the prompt indicator
Auto Trait Implementations
impl RefUnwindSafe for Emacs
impl Send for Emacs
impl Sync for Emacs
impl Unpin for Emacs
impl UnwindSafe for Emacs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more