Crate dioptre

Source
Expand description

§Dioptre

Dioptre is a library for working with struct fields.

The Fields trait records a struct’s layout, and deriving it provides matching Field consts.

Downstream code, like CellExt::project, can build on this data to provide new ways to safely manipulate structs.

Modules§

ext

Structs§

Field
A handle to a field in struct S of type F.

Traits§

Fields
Layout metadata for a struct.

Derive Macros§

Fields