Zed の UI フレームワーク GPUI で Rust のデスクトップ ToDo アプリを作る
use gpui_kit::{prelude::*, *}; struct TodoApp { title: SharedString, } impl Render for TodoApp { fn render(&mut self, _window: &mut Window, _cx: &mut Context) -> impl IntoElement { div() .flex() .flex_col() .size_full() .p_4() .bg(rgb(0xffffff)) .text_color(rgb(0x111827)) .child(div().text_...
はてなテクノロジー
2026年11月09日 14:59