Skip to main content

with_font

Function with_font 

Source
pub fn with_font<F, R>(f: F) -> R
where F: FnOnce(&mut FontState) -> R,
Expand description

在全局 FontState 上执行操作(惰性初始化)