Skip to main content

text_key

Function text_key 

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

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