文章目录
- egui
- conrod
- native-windows-gui-windows (推荐)
- iced (推荐)
egui
Web GUI库,编译到webAsemmbly在浏览器中运行,它实现了简单的布局功能,基础的表单组件,滚动条区域,树型组件,鼠标绘图等
(目前所见过的最丰富组件的 Rust Web GUI,功能强大)
- github 项目:https://github.com/emilk/egui
- 在线示例:https://emilk.github.io/egui/index.html
conrod
可跨平台的、即时 2D GUI库,特点是 简单、稳健、追求原生性能的交互式界面
- github 项目:https://github.com/pistondevelopers/conrod
- 示例(ytb 链接):所有部件展示、与 RustAudio 结合的合成器编辑器demo
native-windows-gui-windows (推荐)
windows 原生轻量级 GUI(推荐)
- github 项目:https://github.com/gabdube/native-windows-gui
- 示例:https://github.com/gabdube/native-windows-gui/blob/master/showcase/demo4.png
iced (推荐)
受 Elm 启发的跨平台 web GUI(简单、类型安全)
- github 项目地址:https://github.com/hecrj/iced
- 示例:https://iced.rs/