rust_gui:Rust中基于CrossPlatform Native Widget的组件系统

时间:2021-03-25 19:41:39
【文件属性】:
文件名称:rust_gui:Rust中基于CrossPlatform Native Widget的组件系统
文件大小:18KB
文件格式:ZIP
更新时间:2021-03-25 19:41:39
Rust RustGUI的 Rust中基于跨平台本机小部件的组件系统 该项目的目标是跨平台GUI应用程序开发,并具有类似功能组件和状态管理的功能。 内置的程序宏可帮助开发人员编写最少的代码。 例子 c! ( View [ View [ Button { set_label = state.count. to_string (). as_str (); connect_clicked = || state.count += 1 ; }, ] { if state.count % 2 == 0 { c! ( 1 Button { set_label = "Eve" ; } ); } else { c! ( 2 B
【文件预览】:
rust_gui-main
----.gitignore(52B)
----README.md(950B)
----Cargo.toml(310B)
----examples()
--------counter()
----macros()
--------c()
--------forr()
--------n()
----src()
--------lib.rs(121B)
--------nodes()
--------run.rs(646B)
----.idea()
--------.gitignore(176B)
--------vcs.xml(180B)
--------modules.xml(298B)
--------dlopen_rust_live_reload.iml(1KB)
----rustfmt.toml(82B)

网友评论