Expand description
Versioned .10d Entity Behavioral & Affordance Ontology Section.
EONT1 encodes the digital twin’s entity ontology directly inside
a .10d living container (SectionType 17). It packs:
- Mini-header: entity DID hash, taxon IRI hash, lifecycle stage, initial energy, damage, hydration, wear
- Affordance Table: fixed-stride POD records (action ID, category, permission tier, preconditions, effects, clip ID)
- Zero-heap on hot query and evaluation paths.
Re-exports§
pub use entity_ontology_encoded_len as personal_ontology_encoded_len;pub use encode_entity_ontology_section as encode_personal_ontology_section;pub use decode_entity_ontology_section_into as decode_personal_ontology_section_into;
Structs§
- Affordance
Binary Record - 48-byte fixed-stride binary record representing one affordance.
- Developmental
Keyframe Record - 32-byte fixed-stride binary record representing an ontogenetic growth milestone.
- Entity
Ontology Mini Header - 40-byte header for SectionType::EntityOntology (EONT1), unified with
etalon_render::skeletal::OntogeneticStateHeader. Domain-neutral 40-byte ontogenetic and metabolic state header (EONT1layout).
Enums§
Constants§
- AFFORDANCE_
RECORD_ SIZE - DEVELOPMENTAL_
KEYFRAME_ RECORD_ SIZE - ENTITY_
ONTOLOGY_ MINI_ HEADER_ SIZE - ENTITY_
ONTOLOGY_ SECTION_ VERSION - MAGIC_
EONT - MAGIC_
PONT - MAX_
AFFORDANCES_ PER_ SECTION - PERSONAL_
ONTOLOGY_ MINI_ HEADER_ SIZE - PERSONAL_
ONTOLOGY_ SECTION_ VERSION
Functions§
- decode_
entity_ ontology_ section_ into - Decode a
.10dEntityOntology section into caller-suppliedAffordanceBinaryRecordbuffer. Zero heap allocations in hot path. - encode_
entity_ ontology_ section - Encode an EntityOntology into a caller-supplied binary buffer.
- entity_
ontology_ encoded_ len - Calculate total encoded byte length for a given affordance count.