Struct koto_bytecode::CompilerSettings
source · pub struct CompilerSettings {
pub export_top_level_ids: bool,
}Expand description
The settings used by the Compiler
Fields§
§export_top_level_ids: boolCauses all top level identifiers to be exported
This is used by the REPL to automatically export values so that they’re available between chunks.
Trait Implementations§
source§impl Default for CompilerSettings
impl Default for CompilerSettings
source§fn default() -> CompilerSettings
fn default() -> CompilerSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompilerSettings
impl RefUnwindSafe for CompilerSettings
impl Send for CompilerSettings
impl Sync for CompilerSettings
impl Unpin for CompilerSettings
impl UnwindSafe for CompilerSettings
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