Expand description

Methods for converting sets of naga::GlobalVariables to token streams.

Functions§

  • Converts a global in a module into a collection of Rust definitions including the type and binding of the global, if representable.
  • Builds a collection of globals into a collection of Rust module definitions containing each of the globals’ properties, such as type and binding.