Expand description
A collection of helper types and functions for working on macros within the Bevy ecosystem.
Modules§
- fq_std
- This module contains unit structs that should be used inside
quote!
andspanned_quote!
using the variable interpolation syntax in place of their equivalent structs and traits present instd
.
Structs§
- Bevy
Manifest - The path to the
Cargo.toml
file for the Bevy project. - Symbol
- A single named value, representable as a string.
Functions§
- derive_
label - Derive a label trait
- ensure_
no_ collision - Finds an identifier that will not conflict with the specified set of tokens.
- get_
lit_ bool - Get a literal boolean from the provided expression as a
bool
. - get_
lit_ str - Get a literal string from the provided expression.
- get_
struct_ fields - Get the fields of a data structure if that structure is a struct with named fields; otherwise, return a compile error that points to the site of the macro invocation.