Skip to main content

text_key

Function text_key 

Source
pub fn text_key(text: &str, style: &TextStyle, size: RenderSize) -> u64
Expand description

A text’s identity at a render size: the text, its style, and the size, hashed (FNV-1a). Never zero.