pub enum ReplMode {
Normal,
Tactic,
Search,
}Expand description
A REPL mode that controls what kinds of input are accepted.
Variants§
Normal
Standard mode: accept expressions and declarations.
Tactic
Tactic mode: accept tactic-block lines.
Search
Search mode: accept search queries only.
Implementations§
Trait Implementations§
impl Copy for ReplMode
impl Eq for ReplMode
impl StructuralPartialEq for ReplMode
Auto Trait Implementations§
impl Freeze for ReplMode
impl RefUnwindSafe for ReplMode
impl Send for ReplMode
impl Sync for ReplMode
impl Unpin for ReplMode
impl UnsafeUnpin for ReplMode
impl UnwindSafe for ReplMode
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