pub struct CompilerSessionOptions {
pub langspec_script_name: String,
pub source_load: SourceLoadOptions,
pub compile: CompileOptions,
pub emit_debug: bool,
}Expand description
Configuration for one reusable NWScript compiler session.
Fields§
§langspec_script_name: StringLogical script name used to load the builtin language specification.
source_load: SourceLoadOptionsSource loading configuration used for the langspec and all compilations.
compile: CompileOptionsCode generation options applied to each compile request.
emit_debug: boolWhether compilations should emit NDB debugger output when available.
Trait Implementations§
Source§impl Clone for CompilerSessionOptions
impl Clone for CompilerSessionOptions
Source§fn clone(&self) -> CompilerSessionOptions
fn clone(&self) -> CompilerSessionOptions
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 CompilerSessionOptions
impl Debug for CompilerSessionOptions
Source§impl Default for CompilerSessionOptions
impl Default for CompilerSessionOptions
Source§impl PartialEq for CompilerSessionOptions
impl PartialEq for CompilerSessionOptions
impl Eq for CompilerSessionOptions
impl StructuralPartialEq for CompilerSessionOptions
Auto Trait Implementations§
impl Freeze for CompilerSessionOptions
impl RefUnwindSafe for CompilerSessionOptions
impl Send for CompilerSessionOptions
impl Sync for CompilerSessionOptions
impl Unpin for CompilerSessionOptions
impl UnsafeUnpin for CompilerSessionOptions
impl UnwindSafe for CompilerSessionOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.