Crate shapely_core Copy item path Source mini_typeid Bytes A wrapper around Vec for binary data Field FieldFlags Flags that can be applied to fields to modify their behavior 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 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 ScalarContents Represents the contents of a scalar value with a lifetime.
This allows safe access to the actual values stored in memory. 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