Docs.rs
mgui-runtime-1.0.0
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
with_font
mgui_
runtime
1.0.0
In mgui_
runtime::
text
mgui_runtime
::
text
Function
with_
font
Copy item path
Source
pub fn with_font<F, R>(f: F) -> R
where F:
FnOnce
(&mut
FontState
) -> R,
Expand description
在全局 FontState 上执行操作(惰性初始化)