[−][src]Struct rslint_errors::Emitter
The emitter is responsible for emitting diagnostics to a given output.
Implementations
impl<'files> Emitter<'files>
[src]
impl<'_> Emitter<'_>
[src]
pub fn emit_stderr(&mut self, d: &Diagnostic, color: bool) -> Result<(), Error>
[src]
Render and emit the diagnostic to stderr
pub fn emit_stdout(&mut self, d: &Diagnostic, color: bool) -> Result<(), Error>
[src]
Render and emit the diagnostic to stdout
pub fn emit_with_writer(
&mut self,
d: &Diagnostic,
writer: &mut dyn WriteColor
) -> Result<(), Error>
[src]
&mut self,
d: &Diagnostic,
writer: &mut dyn WriteColor
) -> Result<(), Error>
Auto Trait Implementations
impl<'files> !RefUnwindSafe for Emitter<'files>
impl<'files> !Send for Emitter<'files>
impl<'files> !Sync for Emitter<'files>
impl<'files> Unpin for Emitter<'files>
impl<'files> !UnwindSafe for Emitter<'files>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erasable for T
unsafe fn unerase(this: NonNull<Erased>) -> NonNull<T>
const ACK_1_1_0: bool
fn erase(this: NonNull<Self>) -> NonNull<Erased>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,