Module aframe::utils

source ·
Expand description

The js! macro, vectors and other useful utility modules.

Modules§

  • A simple color struct with constants. Defines Rgb and Rgba
  • Module that implements the Htmlify trait for items in this crate.

Structs§

  • A property used for some registrations in Aframe. Contains the type string and the default value.
  • HTML Attribute wrapper, a simple key-value string pair
  • A 2-dimensional vector
  • A 3-dimensional vector
  • A 4-dimensional vector

Enums§

Traits§

  • Trait used to generate HTML from Rust structures. See module-level documentation for more details.

Functions§

  • Helper function which appends some impl Htmlify to the web_sys document body. Combined with the rest of this crate, may be used to generate the entire HTML body in arbitrary Rust-driven ways.