Crate kittycad_execution_plan_traits

Crate kittycad_execution_plan_traits 

Source
Expand description

Traits and types used for KittyCAD Execution Plans.

Modules§

events
Events can be logged during execution. Used in the visual debugger.

Macros§

impl_value_on_primitive_ish
Macro to generate an impl Value for the given type $subject. The type $subject must be “primitive-ish”, i.e. something that can be converted Into a Primitive and TryFrom a primitive

Structs§

Address
An address in KCEP’s program memory.
ListHeader
List metadata. A KCEP list is a layout for variable-length lists whose elements may be different types, and are identified by a uint index.
ObjectHeader
Object metadata. A KCEP object is a layout for objects whose elements may be different types, and are identified by a string key.

Enums§

InMemory
Where in memory a value is.
MemoryError
Errors that could occur when reading a type from KittyCAD Execution Plan program memory.
NumericPrimitive
Various kinds of number.
Primitive
A value stored in KCEP program memory.

Traits§

FromMemory
Types that can be read from KCEP program memory, scattered across multiple places in the address space.
ReadMemory
Memory that a KittyCAD Execution Plan can read from.
Value
Types that can be written to or read from KCEP program memory, in one contiguous block. If they require multiple memory addresses, they will be laid out into multiple consecutive memory addresses.