docs: clarify UI registration signatures and visual snapshot fields
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
//! ui_bridge::bind 也会为状态对象的绑定函数调用 operation_signature。
|
||||
//! VM 随后在调用边界读取这些签名,验证数量、类型及调用效果;业务实现位于 calls/scene3d 等模块。
|
||||
//! 参数注解并不决定是否必填:Operation::arity 给出实参数量,注解表则检查实际出现的每一个参数。
|
||||
//! 例如 Text 的注解列出 text/size/color 三项,但 arity 为 1..3,所以省略后两项合法,显式 nil 仍不满足 Number/String。
|
||||
//! ReadOnly 构造可初始化本次新分配对象;Delegated 只允许进入委托入口,后续被调用函数仍要接受各自的效果检查。
|
||||
use super::*;
|
||||
|
||||
/// bootstrap 安装实例方法时调用,构造包含 receiver 的 VM 方法契约。
|
||||
|
||||
Reference in New Issue
Block a user