Display

Trait Display 

Source
pub trait Display {
    type Output;

    // Required methods
    fn emit_batch_diagnostic<'a>(
        &self,
        diagnostics: impl Iterator<Item = &'a Diagnostic>,
    ) -> Self::Output;
    fn emit_diagnostic(&self, diagnostic: &Diagnostic) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn emit_batch_diagnostic<'a>( &self, diagnostics: impl Iterator<Item = &'a Diagnostic>, ) -> Self::Output

Source

fn emit_diagnostic(&self, diagnostic: &Diagnostic) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§