Struct syntax::json::JsonEmitter [−][src]
pub struct JsonEmitter { /* fields omitted */ }
Methods
impl JsonEmitter
[src]
impl JsonEmitter
pub fn stderr(
registry: Option<Registry>,
code_map: Lrc<SourceMap>,
pretty: bool
) -> JsonEmitter
[src]
pub fn stderr(
registry: Option<Registry>,
code_map: Lrc<SourceMap>,
pretty: bool
) -> JsonEmitter
pub fn basic(pretty: bool) -> JsonEmitter
[src]
pub fn basic(pretty: bool) -> JsonEmitter
pub fn new(
dst: Box<Write + Send>,
registry: Option<Registry>,
code_map: Lrc<SourceMap>,
pretty: bool
) -> JsonEmitter
[src]
pub fn new(
dst: Box<Write + Send>,
registry: Option<Registry>,
code_map: Lrc<SourceMap>,
pretty: bool
) -> JsonEmitter
pub fn ui_testing(self, ui_testing: bool) -> Self
[src]
pub fn ui_testing(self, ui_testing: bool) -> Self
Trait Implementations
impl Emitter for JsonEmitter
[src]
impl Emitter for JsonEmitter
fn emit(&mut self, db: &DiagnosticBuilder)
[src]
fn emit(&mut self, db: &DiagnosticBuilder)
Emit a structured diagnostic.
fn should_show_explain(&self) -> bool
[src]
fn should_show_explain(&self) -> bool
Check if should show explanations about "rustc --explain"
Auto Trait Implementations
impl !Send for JsonEmitter
impl !Send for JsonEmitter
impl !Sync for JsonEmitter
impl !Sync for JsonEmitter