pub struct CompileOptions {
pub filename: String,
pub transient: bool,
}Expand description
Named source compilation options.
Fields§
§filename: String§transient: boolThe code is freed once nothing names it (a REPL’s line), instead of living as long as the runtime.
Implementations§
Trait Implementations§
Source§impl Clone for CompileOptions
impl Clone for CompileOptions
Source§impl Debug for CompileOptions
impl Debug for CompileOptions
Source§impl Default for CompileOptions
impl Default for CompileOptions
impl Eq for CompileOptions
Source§impl PartialEq for CompileOptions
impl PartialEq for CompileOptions
impl StructuralPartialEq for CompileOptions
Auto Trait Implementations§
impl Freeze for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptions
impl Sync for CompileOptions
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptions
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