Crate spectacle

Source
Expand description

§Opt-in Runtime Introspection

This crate provides the Introspect trait. Types implementing Introspect can recursively walk into their structure, calling their visitor function for both themselves and all children. It operates via the Any trait.

Note that because Any is only implemented for 'static items, this trait can only be implemented for owned or 'static objects which themselves contain no non-'static references.

It also includes the trail of accessors and selectors describing how to get to the current location from the root object. Given those two things, it is straightforward to find and access the portion of data of interest.

Enums§

Breadcrumb

Traits§

Introspect
Recursively introspect through Self.

Type Aliases§

Breadcrumbs

Derive Macros§

Spectacle