pub fn write_export(
grid: &RenderGrid,
fmt: ExportFormat,
) -> Result<Vec<u8>, FigletError>Expand description
Dispatch a RenderGrid to the requested ExportFormat backend.
Returns FigletError::UnsupportedExportFormat when the requested
format’s leaf is disabled at compile time; the available field
enumerates the format names that ARE compiled into this build.