Skip to main content

Module printer

Module printer 

Source
Expand description

Printer abstraction for testable output.

This module provides a trait-based abstraction for output destinations, allowing parsers to write to stdout, stderr, or test collectors without changing their core logic.

Structs§

StdoutPrinter
Printer that writes to stdout.

Traits§

Printable
Trait for output destinations in parsers.

Functions§

shared_stdout
Create a shared stdout printer.

Type Aliases§

SharedPrinter
Shared printer reference for use in parsers.