pub struct ObjectManager { /* private fields */ }
Expand description

PKG 序列化 反序列化 的实现

Implementations§

注册 struct 和 Typeid 映射

根据 Typeid 返回 SharedPtr 如果没有注册 返回 None

写入入口函数

生成物结构内部写入

读SharedPtr

Trait Implementations§

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.