Skip to main content

Crate rust_constructor

Crate rust_constructor 

Source
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 ConstructorGitHub 仓库以获取。

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的背景。
BasicFrontResourceConfig
基本前端资源配置。
CustomRect
RC的矩形资源。
CustomRectConfig
矩形的可配置项。
DebugTextureHandle
为图片纹理支持派生Debug特征。
DisplayInfo
显示信息。
EventState
事件发生时的状态。
Font
RC的字体资源。
Image
RC的图片资源。
ImageConfig
图片的可配置项。
ImageTexture
用于存储图片纹理的RC资源。
PageData
用于存储页面数据的RC资源。
PanelLayout
用于确认资源排版方式。
PositionSizeConfig
用于配置资源位置和尺寸的结构体。
ResourcePanel
RC的资源板。
RustConstructorError
RC资源最基本的错误处理。
RustConstructorId
标记RCR的名称与类型。
RustConstructorResourceBox
RCR的基本结构。
SplitTime
RC的时间分段资源。
Switch
RC的开关资源。
SwitchAppearanceConfig
Switch在不同状态下的的外观配置。
SwitchClickConfig
Switch的可点击方法配置。
SwitchData
用于Switch资源判定的一些字段集合。
Text
RC的文本资源。
TextConfig
文本的可配置项。
Timer
用于存储运行时间的计时器。
Variable
RC的变量资源。

Enums§

ActiveListInfoMethod
控制显示活跃资源列表的方法。
BackgroundType
控制Background选择的基础前端资源类型。
BorderKind
矩形边框的类型。
ClickAim
鼠标点击资源板的目的。
CustomPanelLayout
用于自定义资源排版方式。
HorizontalAlign
水平对齐方法。
HyperlinkSelectMethod
控制超链接选取方法。
PanelLocation
用于控制基本前端资源在资源板中的定位方式。
PanelMargin
用于确认资源在资源板中的外边距。
RenderConfig
渲染配置。
RequestMethod
定位请求跳过渲染队列的资源的方法。
RequestType
请求跳过渲染队列的类型。
ScrollBarDisplayMethod
滚动条显示方法。
ScrollLengthMethod
滚动区域滚动长度(尺寸)配置。
VerticalAlign
垂直对齐方法。

Traits§

BasicFrontResource
标记并管理用于显示给用户的基本前端资源。
RustConstructorResource
核心特征,用于统一管理Rust Constructor资源。