Struct irust_repl::EvalConfig
source · pub struct EvalConfig<'a, S: ToString> {
pub input: S,
pub interactive_function: Option<fn(_: &mut Child) -> Result<(), Box<dyn Error>>>,
pub color: bool,
pub evaluator: &'a [String],
pub compile_mode: CompileMode,
}
Fields§
§input: S
§interactive_function: Option<fn(_: &mut Child) -> Result<(), Box<dyn Error>>>
§color: bool
§evaluator: &'a [String]
§compile_mode: CompileMode
Auto Trait Implementations§
impl<'a, S> RefUnwindSafe for EvalConfig<'a, S>where S: RefUnwindSafe,
impl<'a, S> Send for EvalConfig<'a, S>where S: Send,
impl<'a, S> Sync for EvalConfig<'a, S>where S: Sync,
impl<'a, S> Unpin for EvalConfig<'a, S>where S: Unpin,
impl<'a, S> UnwindSafe for EvalConfig<'a, S>where S: UnwindSafe,
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