pub struct Emacs { /* private fields */ }
Expand description
This parses the incoming Events like a emacs style-editor
Implementations§
Trait Implementations§
source§impl EditMode for Emacs
impl EditMode for Emacs
source§fn parse_event(&mut self, event: ReedlineRawEvent) -> ReedlineEvent
fn parse_event(&mut self, event: ReedlineRawEvent) -> ReedlineEvent
Translate the given user input event into what the
LineEditor
understandssource§fn 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§
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