Text
使用继承的排版、文本选择和无障碍属性来排版并绘制 Unicode 文本。
正在加载交互演示…
text("Hello from Rust").text_lg()#导入
从 quickgui 导入 text。
use quickgui::*;#用法
text("Hello from Rust").text_lg()#API 参考
展开条目查看说明和完整签名。短横线表示声明中未记录默认值。
text
查看源码pub fn text(content: impl Into<Arc<str>>) -> ElementCreate a text element. Strings are owned through `Arc<str>` and cheap to retain.
