Module value_array

Source
Expand description

A version of the standard fixed-length array extension where arrays of copyable types are copyable themselves.

Supports all regular array operations apart from clone and discard.

Structs§

EXTENSION
Extension for value array operations.
ValueArray
A fixed-length collection of values.

Constants§

EXTENSION_ID
Reported unique name of the extension
VALUE_ARRAY_TYPENAME
Reported unique name of the value array type.
VALUE_ARRAY_VALUENAME
Reported unique name of the value array value.
VERSION
Extension version.

Traits§

VArrayOpBuilder
Trait for building value array operations in a dataflow graph.

Functions§

value_array_type
Instantiate a new value array type given a size argument and element type.
value_array_type_def
Gets the TypeDef for value arrays. Note that instantiations are more easily created via value_array_type and value_array_type_parametric
value_array_type_parametric
Instantiate a new value array type given the size and element type parameters.

Type Aliases§

VArrayFromArray
The value array from default array conversion operation.
VArrayFromArrayDef
Value array from default array conversion operation definition.
VArrayOp
Value array operations.
VArrayOpDef
Value array operation definitions.
VArrayRepeat
The value array repeat operation.
VArrayRepeatDef
Value array repeat operation definition.
VArrayScan
The value array scan operation.
VArrayScanDef
Value array scan operation definition.
VArrayToArray
The value array to default array conversion operation.
VArrayToArrayDef
Value array to default array conversion operation definition.
VArrayValue
A value array extension value.