Struct gluon::import::DatabaseMut
source · pub struct DatabaseMut { /* private fields */ }
Implementations§
source§impl DatabaseMut
impl DatabaseMut
sourcepub fn implicit_prelude(self, implicit_prelude: bool) -> Self
pub fn implicit_prelude(self, implicit_prelude: bool) -> Self
Sets whether the implicit prelude should be include when compiling a file using this compiler (default: true)
pub fn set_implicit_prelude(&mut self, implicit_prelude: bool)
sourcepub fn emit_debug_info(self, emit_debug_info: bool) -> Self
pub fn emit_debug_info(self, emit_debug_info: bool) -> Self
Sets whether the compiler should emit debug information such as source maps and variable names. (default: true)
pub fn set_emit_debug_info(&mut self, emit_debug_info: bool)
sourcepub fn full_metadata(self, full_metadata: bool) -> Self
pub fn full_metadata(self, full_metadata: bool) -> Self
Sets whether full metadata is required (default: false)
pub fn set_full_metadata(&mut self, full_metadata: bool)
sourcepub fn use_standard_lib(self, use_standard_lib: bool) -> Self
pub fn use_standard_lib(self, use_standard_lib: bool) -> Self
Sets whether internal standard library is searched for requested modules (default: true)
pub fn set_use_standard_lib(&mut self, use_standard_lib: bool)
sourcepub fn optimize(self, optimize: bool) -> Self
pub fn optimize(self, optimize: bool) -> Self
Whether the bytecode should be optimized (default: true)
pub fn set_optimize(&mut self, optimize: bool)
sourcepub fn run_io(self, run_io: bool) -> Self
pub fn run_io(self, run_io: bool) -> Self
Sets whether IO
expressions are evaluated.
(default: false)
pub fn set_run_io(&mut self, run_io: bool)
Trait Implementations§
source§impl Deref for DatabaseMut
impl Deref for DatabaseMut
source§impl DerefMut for DatabaseMut
impl DerefMut for DatabaseMut
Auto Trait Implementations§
impl !RefUnwindSafe for DatabaseMut
impl !Send for DatabaseMut
impl !Sync for DatabaseMut
impl Unpin for DatabaseMut
impl !UnwindSafe for DatabaseMut
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
§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.