Expand description
Complete recursive canonical metadata and sealed concrete representation witnesses. Describes complete recursive identities independently of interpreter descriptors.
Witnesses name concrete Rust representations without requiring foreign types to implement a trait. Capability adapters are optional and checked separately:
use cel_runtime::value_type::{ArrayOf, Leaf, ValueRepr, ValueType};
let array = ValueType::array(ValueType::cloneable_leaf::<String>());
assert!(array.same_shape(&ArrayOf::<Leaf<String>>::value_type()));Structs§
- ArrayOf
- Names a homogeneous array whose elements use witness
E. - Associated
Type - Associates a source-ordered tuple field with its canonical physical offset.
- Cons
- Names a source-first tuple head
Hfollowed by canonical list tailT. - FnOf
- Names a callable with a complete canonical parameter and result signature.
- Leaf
- Names an opaque host leaf of type
T, including explicitly registered(). - Nil
- Names canonical source unit, represented by
CNil<()>, not a host(). - Value
Type - Owns immutable recursive identity, canonical layout, and trusted operations.
Enums§
- Value
Kind - Identifies a value structurally, independently of aggregate storage markers.
Traits§
- Argument
List - Names a canonical tuple argument list, sealed to
NilandCons. - Value
Repr - Names a trusted concrete representation without wrapping its runtime value.