docs: explain application entry points and tooling workflows

This commit is contained in:
2026-11-12 19:31:28 +08:00
parent ca5bc863c1
commit 8a61d27938
8 changed files with 28 additions and 5 deletions
+3
View File
@@ -1,7 +1,10 @@
//! 语言桥接模块入口。集中导出 Endor 类型和宿主实现之间的适配层。
//! endor_host 建立会话时安装 ui_bridge 能力,源程序随后通过名义方法调用宿主;渲染线程不直接运行这些回调。
//!
// 目录确定模块归属;main 中的 crate 根别名保持内部调用路径稳定。
/// 注册托管类型/宿主方法,验证参数并连接业务对象、Mount、视觉协议与窗口/任务资源。
pub(crate) mod ui_bridge;
/// 注册图片、字体、文字流与避让形状能力,并把托管绘制参数解码为可跨线程使用的不可变资源。
/// ui_bridge 安装时调用注册入口,source_paint 解码 image 命令时复用图像检查。
pub(crate) mod graphics;