Skip to main content

Module component_data

Module component_data 

Source
Expand description

ABI-stable component data storage.

This module provides the core types for storing component values in an ABI-stable way. Vanilla components get dedicated enum variants for zero-cost access, while plugin components use the Other variant with opaque bytes.

Enums§

ComponentData
ABI-stable component value storage.
ComponentDataDiscriminant
Discriminant for ComponentData variants.

Traits§

Component
Trait for types that can be converted to/from ComponentData.