Crate shapely_core

Source

Re-exports§

pub use nonmax;

Modules§

mini_typeid

Structs§

Field
InitSet64
A bit array to keep track of which fields were initialized, up to 64 fields
Partial
A partially-initialized shape, useful when deserializing for example.
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.

Enums§

InitFieldSlot
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

Traits§

Shapely
Allows querying the Shape of a type, which in turn lets us inspect any fields, build a value of this type progressively, etc.

Type Aliases§

DropFunction
A function that drops a value at a specific memory address