Featured image of post Rustの軽量GUIライブラリ「egui」の始め方とサンプル実行手順

Rustの軽量GUIライブラリ「egui」の始め方とサンプル実行手順

Rustで手軽に扱えるGUIライブラリ「egui」の基本的な使い方を紹介します。GitHubからテンプレートをクローンし、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