Expand description
The js!
macro, vectors and other useful utility modules.
Modules§
- color
- A simple color struct with constants. Defines
Rgb
andRgba
- htmlify
- Module that implements the Htmlify trait for items in this crate.
- yew
Structs§
- Aframe
Property - A property used for some registrations in Aframe. Contains the type string and the default value.
- Attribute
- HTML Attribute wrapper, a simple key-value string pair
- Function
- Vector2
- A 2-dimensional vector
- Vector3
- A 3-dimensional vector
- Vector4
- A 4-dimensional vector
Enums§
Traits§
- Const
Default - Implements a compilation time default value for the implemented type.
- Htmlify
- Trait used to generate HTML from Rust structures. See module-level documentation for more details.
Functions§
- append_
to_ document_ body - 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.