Struct endbasic_repl::editor::Editor
source · [−]pub struct Editor { /* private fields */ }Expand description
An interactive console-based text editor.
The text editor owns the textual contents it is editing.
Trait Implementations
Returns true if the program was modified since it was last saved (as indicated by a call to
set_name). Read more
Edits the program interactively via the given console.
Reloads the contents of the stored program with the given text and tracks them as coming
from the file given in name. Read more
Path of the loaded program. Should be None if the program has never been saved yet.
Auto Trait Implementations
impl RefUnwindSafe for Editor
impl UnwindSafe for Editor
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more