Skip to main content

shared_plain_render_string

Function shared_plain_render_string 

Source
pub fn shared_plain_render_string(text: &str) -> Arc<RenderString> ⓘ
Expand description

The RenderString of shared_plain_annotated_string’s string for text, converted once while the pool holds it, so a canvas redrawing the same characters hands the renderer the same allocation every frame.