pub enum ReplOption {
Timing,
ShowElaborated,
Verbose,
PrettyPrint,
MaxLines,
}Expand description
A REPL session option that can be toggled.
Variants§
Timing
Print timing information after each command.
ShowElaborated
Show the elaborated term after each check.
Verbose
Enable verbose mode.
PrettyPrint
Pretty-print expressions.
MaxLines
Maximum output lines.
Implementations§
Trait Implementations§
Source§impl Clone for ReplOption
impl Clone for ReplOption
Source§fn clone(&self) -> ReplOption
fn clone(&self) -> ReplOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplOption
impl Debug for ReplOption
Source§impl Hash for ReplOption
impl Hash for ReplOption
Source§impl PartialEq for ReplOption
impl PartialEq for ReplOption
impl Eq for ReplOption
impl StructuralPartialEq for ReplOption
Auto Trait Implementations§
impl Freeze for ReplOption
impl RefUnwindSafe for ReplOption
impl Send for ReplOption
impl Sync for ReplOption
impl Unpin for ReplOption
impl UnsafeUnpin for ReplOption
impl UnwindSafe for ReplOption
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