pub struct ReplOptions {
pub show_timing: bool,
pub print_types: bool,
pub max_history: usize,
pub color: bool,
pub verbose: bool,
}Expand description
Options for REPL behavior.
Fields§
§show_timing: boolWhether to show timing information.
print_types: boolWhether to print types alongside values.
max_history: usizeMaximum number of history entries.
color: boolWhether to enable color output.
verbose: boolWhether to enable verbose mode.
Implementations§
Source§impl ReplOptions
impl ReplOptions
Trait Implementations§
Source§impl Clone for ReplOptions
impl Clone for ReplOptions
Source§fn clone(&self) -> ReplOptions
fn clone(&self) -> ReplOptions
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 ReplOptions
impl Debug for ReplOptions
Auto Trait Implementations§
impl Freeze for ReplOptions
impl RefUnwindSafe for ReplOptions
impl Send for ReplOptions
impl Sync for ReplOptions
impl Unpin for ReplOptions
impl UnsafeUnpin for ReplOptions
impl UnwindSafe for ReplOptions
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