Skip to main content

Module value

Module value 

Source
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§

HostCallable
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).
PrintResult
Print result with structured spans for reformattable output
VTable
Virtual method table for trait objects.

Enums§

FilterLiteral
A literal value in a filter expression (for SQL generation)
FilterNode
Filter expression tree for SQL pushdown. Built from ExprProxy comparisons and logical operations.
FilterOp
Comparison operator for filter expressions
PrintSpan
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.
VTableEntry
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.