Expand description
Core value types for Shape
This module defines supporting types used throughout the Shape runtime and VM.
The canonical runtime value representation is ValueWord (8-byte NaN-boxed).
Structs§
- Host
Callable - A callable closure backed by native Rust code with captured state. Used by extension modules to return objects with callable methods (e.g., DbTable.filter).
- Print
Result - Print result with structured spans for reformattable output
- VTable
- Virtual method table for trait objects.
Enums§
- Filter
Literal - A literal value in a filter expression (for SQL generation)
- Filter
Node - Filter expression tree for SQL pushdown. Built from ExprProxy comparisons and logical operations.
- Filter
Op - Comparison operator for filter expressions
- Print
Span - A span in print output (literal text or formatted value)
- Upvalue
- Upvalue - a captured variable that can be shared between closures and their enclosing scope.
- VTable
Entry - An entry in a vtable — how to dispatch a method call
Functions§
- vmarray_
from_ nanboxed - Backward-compatibility alias.
- vmarray_
from_ value_ words - Create a VMArray from an iterator of ValueWord values.
Type Aliases§
- VMArray
- Type alias for array storage — ValueWord elements for 9x memory reduction.