Skip to main content

PropertySnapshotMetaWord

Trait PropertySnapshotMetaWord 

Source
pub trait PropertySnapshotMetaWord: PropertySnapshotMetaWord + PropertyIndex {
    const PROPERTY_DESCRIPTORS_KIND: u32 = _;
    const PROPERTY_DATA_KIND: u32 = _;
    const IDENTITY_MODES_KIND: u32 = _;
    const ELEMENT_IDENTITY_MAP_KIND: u32 = _;
    const RELATION_IDENTITY_MAP_KIND: u32 = _;
    const INCIDENCE_IDENTITY_MAP_KIND: u32 = _;
}
Expand description

Metadata/canonical-ID word width for property and identity snapshot sections.

Derives each width-specific section kind from the crate’s 4-aligned base constants or-ed with SnapshotWidth::WIDTH_CODE (inherited through PropertyIndex), so the two-bit width encoding has one source of truth.

§Performance

Reading the kind constants is O(1).

Provided Associated Constants§

Source

const PROPERTY_DESCRIPTORS_KIND: u32 = _

Property descriptor section kind for this metadata width.

Source

const PROPERTY_DATA_KIND: u32 = _

Property data section kind for this metadata width.

Source

const IDENTITY_MODES_KIND: u32 = _

Identity mode section kind for this metadata width.

Source

const ELEMENT_IDENTITY_MAP_KIND: u32 = _

Element identity map section kind for this metadata width.

Source

const RELATION_IDENTITY_MAP_KIND: u32 = _

Relation identity map section kind for this metadata width.

Source

const INCIDENCE_IDENTITY_MAP_KIND: u32 = _

Incidence identity map section kind for this metadata width.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl PropertySnapshotMetaWord for u16

Source§

impl PropertySnapshotMetaWord for u32

Source§

impl PropertySnapshotMetaWord for u64

Implementors§