Module examples

Source
Expand description

Examples of output of the generate! macro.

This module is only included in docs.rs documentation and is not present in the actual crate when compiling from crates.io. The purpose of this module is to showcase what the output of the generate! macro looks like.

Modulesยง

_0_world_imports
An example of generated bindings for top-level imported functions and interfaces into a world.
_1_interface_imports
An example of importing interfaces into a world.
_2_imported_resources
An example of importing resources into a world.
_3_world_exports
An example of exporting items from a world and the traits that they generate.
_4_exported_resources
An example of exporting resources from a world and the traits that they generate.