composite_types
Introducing type definitions in the style of Typescript to Rust!
use ;
Usage
- Use the
compose_type!macro - Import and define any types outside
compose_type!as you normally would - You can reference these types within
compose_type!, but cannot compose with them - Define structs within
compose_type!to be used to compose new types - Reference your new types outside of
compose_type!and use them in your project