pub fn with_text_runtime<R>(
runtime: &TextRuntimeHandle,
f: impl FnOnce() -> R,
) -> RExpand description
在指定运行时中执行构建/布局/paint;嵌套 scope 在退出后恢复上一层。
pub fn with_text_runtime<R>(
runtime: &TextRuntimeHandle,
f: impl FnOnce() -> R,
) -> R在指定运行时中执行构建/布局/paint;嵌套 scope 在退出后恢复上一层。