pub struct ConsoleReporter;Expand description
Always-on, plain-text terminal reporter (spec 043 §FR-041, Q8).
The reporter is a zero-sized struct because it holds no configuration: the rendering is deterministic and produces the same bytes for a given result regardless of terminal capability.
Implementations§
Trait Implementations§
Source§impl Clone for ConsoleReporter
impl Clone for ConsoleReporter
Source§fn clone(&self) -> ConsoleReporter
fn clone(&self) -> ConsoleReporter
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 ConsoleReporter
impl Debug for ConsoleReporter
Source§impl Default for ConsoleReporter
impl Default for ConsoleReporter
Source§fn default() -> ConsoleReporter
fn default() -> ConsoleReporter
Returns the “default value” for a type. Read more
Source§impl Reporter for ConsoleReporter
impl Reporter for ConsoleReporter
Source§fn render(
&self,
result: &EvalSetResult,
) -> Result<ReporterOutput, ReporterError>
fn render( &self, result: &EvalSetResult, ) -> Result<ReporterOutput, ReporterError>
Render the given result. Read more
impl Copy for ConsoleReporter
Auto Trait Implementations§
impl Freeze for ConsoleReporter
impl RefUnwindSafe for ConsoleReporter
impl Send for ConsoleReporter
impl Sync for ConsoleReporter
impl Unpin for ConsoleReporter
impl UnsafeUnpin for ConsoleReporter
impl UnwindSafe for ConsoleReporter
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