Crate shapely_core Copy item path Source mini_typeid Field InitSet64 A bit array to keep track of which fields were initialized, up to 64 fields Partial A partially-initialized shape. Shape Schema for reflection of a type ShapeDesc A function that returns a shape. There should only be one of these per concrete type in a
program. This enables optimizations. Slot Allows writing into a struct field or inserting into a hash map. FieldError Errors encountered when calling field_by_index
or field_by_name
InitMark InitMark
is used to track the initialization state of a single field within an InitSet64
.
It is part of a system used to progressively initialize structs, where each field’s
initialization status is represented by a bit in a 64-bit set.Innards The shape of a schema: is it more map-shaped, array-shaped, scalar-shaped? Origin Origin of the partial — did we allocate it? Or is it borrowed? Scalar SetFieldOutcome The outcome of trying to set a field on a map Shapely Allows querying the Shape of a type, which in turn lets us inspect any fields, build a value of
this type progressively, etc. DropFn A function that drops a value at a specific memory address NameFn SetToDefaultFn A function that sets a value to its default at a specific memory address