Skip to main content

Module component

Module component 

Source
Expand description

Custom component registry and station-local blob storage.

Structs§

ComponentBlob
Opaque component blob stored in a station-local component column.
ComponentDescriptor
Registered component descriptor.
ComponentEncodeScratch
Caller-owned reusable storage for typed component encoding.
ComponentFieldDescriptor
Field descriptor emitted by external schema generators.
ComponentRegistry
Dense component descriptor registry.
ComponentSchema
Typed component schema descriptor.
ComponentStore
Station-local sparse component blob store.
F32LeCodec
Little-endian f32 codec.
GeneratedComponentSchema
Component schema shape emitted by an external generator.
U32LeCodec
Little-endian u32 codec.
Vec3LeCodec
Little-endian Vec3 codec.

Enums§

ComponentCodecError
Component codec error used by built-in codecs.
ComponentFieldType
Fixed field type used by generated component schema helpers.
ComponentMigrationMode
Migration behavior declared by a registered component.
ComponentRegistryError
Component registry error.
ComponentSchemaError
Generated component schema validation error.
ComponentStorageKind
Storage strategy declared by a registered component.
ComponentStoreError
Component storage error.
ComponentSyncMode
Synchronization behavior declared by a registered component.
GeneratedSchemaRegistrationError
Error produced while registering a generated schema.

Traits§

ComponentCodec
Typed component codec. Embedders can implement this for their own compact schema and bit-packing formats.