Skip to content

pantoken-root / rust

rust ​

Compatibility ​

Target: Rust GUI frameworks. Current format: Generated egui Color32 accessors and iced_core Color constants compile with the Rust toolchain. Minimum host version: 1.95.0. Tested through 1.95.0. Newer releases require review.

Full compatibility matrix

實驗性

@pantoken/rust — 發出 Instructure 設計代幣作為 Rust 常數,針對兩個主流原生 Rust GUI:egui (Color32) 與 iced (Color)。色彩會成為框架的 colour 型別;尺寸則會成為 f32(px)。以網頁呈現的 Rust UI(Tauri、Dioxus-web、Leptos、Yew)應 改用 @pantoken/css。

介面 ​

型別別名 ​

函式 ​

參考 ​

default ​

重新命名並重新匯出 generateRust