Crate scale_typegen_description

Source
Expand description

A crate for turning a type from a scale_info::PortableRegistry into some other, fully resolved, tree-like representation. Currently we can generate these representations for a type:

Re-exports§

Modules§

  • Providing an abstraction for transforming type registries.
  • Create type examples for a type registry.

Functions§

  • Formats a type description string to have nice indents.
  • Describes the type that is registered under the given type_id. This type description is supposed to be very close to actual rust types, with some minar differences: