Skip to main content

printable_text

Function printable_text 

Source
pub fn printable_text<'a>(text: impl Into<Cow<'a, str>>) -> Cow<'a, str>
Expand description

Printable metadata with the same grapheme policy as buffer emission. Preserve an already-owned label without copying when no control needs replacing.