Featured image of post Rust輕量GUI函式庫「egui」的入門與範例執行步驟

Rust輕量GUI函式庫「egui」的入門與範例執行步驟

介紹可在Rust中輕鬆使用的GUI函式庫「egui」之基本用法。為您解說從GitHub複製範本(clone),到使用cargo run指令啟動並執行範例應用程式的簡單步驟。

什麼是 egui

這是一個可以在 Rust 中使用的 GUI 函式庫。

試用 egui

您可以使用以下指令執行 egui 的範例。

1
2
3
git clone https://github.com/emilk/eframe_template/ egui_test
cd egui_test
cargo run

之後,您可以在把玩範例程式碼的同時進行各種嘗試。

參考資料

官方 GitHub

comments powered by Disqus