Expand description
§Rust Constructor V2
基于egui构建的跨平台GUI框架, 用Rust开发GUI项目最简单的方式
A cross-platform GUI framework built on egui, the simplest way to develop GUI projects in Rust
有关Rust Constructor的使用方法,请参考Rust Constructor 指南。
关于源代码及更多内容,请访问Rust Constructor的GitHub 仓库以获取。
About the usage method of Rust Constructor, please refer to the Rust Constructor Guide.
About the source code and more content, please visit the Rust Constructor GitHub Repository to get.
如果你对此项目感兴趣,你也可以来看看我们的组织必达的其他项目。
If you are interested in this project, You can also come and take a look at other projects of our organization Binder.
Structs§
- App
- 程序主体。
- Background
- 复合结构体,包含一个Image或一个CustomRect,可以用作UI的背景。
- Basic
Front Resource Config - 基本前端资源配置。
- Custom
Rect - RC的矩形资源。
- Custom
Rect Config - 矩形的可配置项。
- Debug
Texture Handle - 为图片纹理支持派生Debug特征。
- Display
Info - 显示信息。
- Event
State - 事件发生时的状态。
- Font
- RC的字体资源。
- Image
- RC的图片资源。
- Image
Config - 图片的可配置项。
- Image
Texture - 用于存储图片纹理的RC资源。
- Page
Data - 用于存储页面数据的RC资源。
- Panel
Layout - 用于确认资源排版方式。
- Position
Size Config - 用于配置资源位置和尺寸的结构体。
- Resource
Panel - RC的资源板。
- Rust
Constructor Error - RC资源最基本的错误处理。
- Rust
Constructor Id - 标记RCR的名称与类型。
- Rust
Constructor Resource Box - RCR的基本结构。
- Split
Time - RC的时间分段资源。
- Switch
- RC的开关资源。
- Switch
Appearance Config - Switch在不同状态下的的外观配置。
- Switch
Click Config - Switch的可点击方法配置。
- Switch
Data - 用于Switch资源判定的一些字段集合。
- Text
- RC的文本资源。
- Text
Config - 文本的可配置项。
- Timer
- 用于存储运行时间的计时器。
- Variable
- RC的变量资源。
Enums§
- Active
List Info Method - 控制显示活跃资源列表的方法。
- Background
Type - 控制Background选择的基础前端资源类型。
- Border
Kind - 矩形边框的类型。
- Click
Aim - 鼠标点击资源板的目的。
- Custom
Panel Layout - 用于自定义资源排版方式。
- Horizontal
Align - 水平对齐方法。
- Hyperlink
Select Method - 控制超链接选取方法。
- Panel
Location - 用于控制基本前端资源在资源板中的定位方式。
- Panel
Margin - 用于确认资源在资源板中的外边距。
- Render
Config - 渲染配置。
- Request
Method - 定位请求跳过渲染队列的资源的方法。
- Request
Type - 请求跳过渲染队列的类型。
- Scroll
BarDisplay Method - 滚动条显示方法。
- Scroll
Length Method - 滚动区域滚动长度(尺寸)配置。
- Vertical
Align - 垂直对齐方法。
Traits§
- Basic
Front Resource - 标记并管理用于显示给用户的基本前端资源。
- Rust
Constructor Resource - 核心特征,用于统一管理Rust Constructor资源。