Trait ttf_word_wrap::Measure [−][src]
Implementing this allows overriding of how glyphs are measured.
Required methods
fn str(&self, text: &str) -> u32
[src]
Measures the display width of text
.
fn char(&self, c: char) -> u16
[src]
Measures the display width of c
.