Expand description
Re-exports from the cel-runtime crate for convenient access.
Modules§
- array
- Concrete typed ownership for homogeneous, contiguous arrays. Concrete, contiguous ownership for homogeneous CEL arrays.
- c_
stack_ list - Compile-time stack list implementation for type-safe stack operations.
A
CStackListis aListwith guaranteed memory layout (repr(C)). The tail is stored first, so appending items does not change the memory layout of prior items (though the required alignment may increase).CNil<T>represents the empty list whereTis used to hide the tail forstd::ops::RangeToandstd::ops::RangeToInclusiveindexing. - callable
- Signature-typed callable facade over the canonical shared carrier. Calls native and prepared bodies through one statically fixed signature.
- dyn_
closure - First-class callable CEL values with declared signatures. A first-class, callable CEL value: a compiled body plus its declared signature.
- dyn_
segment - Dynamic segment implementation with runtime type checking. Builds checked instructions for the canonical raw interpreter.
- list_
traits - Traits for working with type lists and type information. A collection of traits for homegenous lists (cons cells), similar to tuples.
- memory
- Memory management and alignment utilities for the runtime.
- owned_
value - Whole-value ownership with complete checked representation witnesses. Owns an erased whole value together with its frozen ownership descriptor.
- prepared_
segment - Prepared typed execution over the existing raw interpreter. Executes one construction-validated canonical borrowed frame.
- raw_
segment - Raw segment implementation without type safety.
- raw_
sequence - Raw sequence implementation for operation sequences.
- raw_
stack - Raw stack implementation for low-level stack operations.
- raw_vec
- Raw vector implementation for dynamic memory allocation.
- segment
- Type-safe segment implementation with compile-time validation.
- tuple_
list - Tuple list implementation for type-safe tuple operations.
Implements
Listfor tuples where()is an empty list and(H, T)is a list with a head and tail. - value_
type - Complete recursive canonical metadata and sealed concrete representation witnesses. Describes complete recursive identities independently of interpreter descriptors.
Structs§
- Array
- Owns homogeneous, contiguous elements without bounds on the element type.
- ArrayOf
- Names a homogeneous array whose elements use witness
E. - Associated
Type - Associates a source-ordered tuple field with its canonical physical offset.
- CNil
- Empty
repr(C)list used as the tail sentinel forCStackList. - CStack
List - A list using a guaranteed memory layout (
repr(C)), with tail stored first so appending items does not change the memory layout of prior items. - Callable
- Shares a callable whose borrowed arguments and owned result have fixed Rust types.
- Cons
- Names a source-first tuple head
Hfollowed by canonical list tailT. - DynClosure
- A first-class, callable CEL value: a compiled body plus its declared parameter/return types.
- DynSegment
- Owns validated raw instructions and complete canonical stack metadata.
- FnOf
- Names a callable with a complete canonical parameter and result signature.
- Leaf
- Names an opaque host leaf of type
T, including explicitly registered(). - List
Type Iterator - Iterator over type-level
Listvalues producing properties viaP. - Nil
- Names canonical source unit, represented by
CNil<()>, not a host(). - Owned
Value - Owns exactly one live erased value and its complete immutable descriptor.
- Prepared
Segment - Owns a frozen raw body with exact canonical argument/result witnesses.
- RawSegment
- A segment represents a sequence of operations that can be executed.
- RawSequence
- A sequence that stores heterogeneous values with proper alignment.
- RawStack
- A simple raw stack that stores values as raw bytes. Each value is naturally aligned given the base alignment of the stack, which is the maximum alignment of any value stored in the stack. Live values are owned until popped, explicitly released, or destroyed in reverse push order.
- RawVec
- A vector of bytes aligned to a given value. The alignment can be increase by calling
align. - Segment
- A type-safe segment that represents a sequence of operations.
- Stack
Info - Describes a live canonical stack slot.
- Undefined
- Marker type representing the head of an empty list.
- 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. - CStack
List Head Limit - A trait describing the memory layout of a
CStackList. Describes the memory layout of aCStackList’s head and tail boundary. - CStack
List Head Padded - Indicates whether the head element is padded to satisfy alignment.
- Empty
List - Trait implemented by empty lists to support list construction.
- IntoC
Stack List - Converts tuples and list-like values into a source-ordered
CStackList. - Into
List - Convert into a type-level
List, consumingself. - Into
Rust Tuple - Moves a canonical list into a native Rust tuple in logical source order.
- Into
Tuple List - Converts tuples into a
Listrepresentation where()is empty and(H, T)is a cons cell. - List
- A trait representing a homogeneous list (cons cell) with a head and tail.
- List
Index - Indexing for lists using typenum-based indices and ranges.
- List
Type Iterator Advance - Advance function provider used by
ListTypeIterator. - List
Type Property - Property generator for iterating over type-level lists.
- Segment
Callable - Callable segment abstraction for uniform invocation across arities.
- Stack
Result - Extracts a typed segment’s result or its empty-stack marker.
- ToList
- Convert to a type-level
Listwithout consumingself. - ToType
IdList - Enumerates opaque leaf types in a concrete preloaded stack list.
- Value
Repr - Names a trusted concrete representation without wrapping its runtime value.
Functions§
- align_
index - Aligns an index to the specified alignment boundary. Returns the next aligned position that satisfies the alignment requirement.
Type Aliases§
- Call
DynFn - A monomorphized dispatcher for
DynClosure::call_boxed: runs a closure’s body viaDynSegment::call_dyn::<R>for some concreteRthe dispatcher itself already knows, boxing the result so the caller (which only knowsRdynamically, as aTypeId) doesn’t need to. - Item
- Type alias for getting element type at index
N, followingstd::ops::Indexconvention Element type at indexNof listL. - Reverse
List - Convenience alias for reversing a
Listonto its empty counterpart. - Type
IdIterator - Iterator that yields the
TypeIdof each head in theList.