Crate inspect_writable

source ·
Expand description

The inspect-writable library defines traits for simple data structures that can be written to inspect and exports a procedural macro to implement these traits.

Traits§

  • A datatype that may be written to an inspect type. This trait can be automatically derived for structs composed of inspect-compatible fields, i.e. signed integers, unsigned integers, or types implementing the Debug trait.
  • A wrapper around an Inspect node and a collection of inspect fields. These fields are created and may updated using the contents of an InspectWritable struct. A struct implementing InspectWritableNode is automatically generated when the InspectWritable trait is derived.

Derive Macros§