Skip to main content

format_record_with_style

Function format_record_with_style 

Source
pub fn format_record_with_style(record: &MrtRecord, style: Style) -> String
Expand description

Render one MRT record as a layered text block, styled for a terminal.

Styling is applied to the block format_record produces, so the text itself (and the unstyled output) is unaffected.