pub struct LineEditor { /* private fields */ }Implementations§
Source§impl LineEditor
impl LineEditor
pub fn new(config: EditorConfig) -> Self
pub fn history_mut(&mut self) -> &mut History
pub fn readline(&mut self, prompt: &str) -> Result<ReadlineResult>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for LineEditor
impl RefUnwindSafe for LineEditor
impl Send for LineEditor
impl Sync for LineEditor
impl Unpin for LineEditor
impl UnsafeUnpin for LineEditor
impl UnwindSafe for LineEditor
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