pub struct CompileConfig {
pub input_mode: InputMode,
pub diagnostic_position_encoding: DiagnosticPositionEncoding,
pub diagnostic_error: bool,
pub diagnostic_warning: bool,
pub diagnostic_info: bool,
pub diagnostic_hint: bool,
pub diagnostic_reference: bool,
pub diagnostic_tag: bool,
pub diagnostic_sourcemap: bool,
}Fields§
§input_mode: InputMode§diagnostic_position_encoding: DiagnosticPositionEncoding§diagnostic_error: bool§diagnostic_warning: bool§diagnostic_info: bool§diagnostic_hint: bool§diagnostic_reference: bool§diagnostic_tag: bool§diagnostic_sourcemap: boolImplementations§
Source§impl CompileConfig
impl CompileConfig
pub fn new() -> CompileConfig
Trait Implementations§
Source§impl Clone for CompileConfig
impl Clone for CompileConfig
Source§fn clone(&self) -> CompileConfig
fn clone(&self) -> CompileConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompileConfig
impl Debug for CompileConfig
Source§impl Default for CompileConfig
impl Default for CompileConfig
Source§fn default() -> CompileConfig
fn default() -> CompileConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for CompileConfig
impl PartialEq for CompileConfig
impl StructuralPartialEq for CompileConfig
Auto Trait Implementations§
impl Freeze for CompileConfig
impl RefUnwindSafe for CompileConfig
impl Send for CompileConfig
impl Sync for CompileConfig
impl Unpin for CompileConfig
impl UnsafeUnpin for CompileConfig
impl UnwindSafe for CompileConfig
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