Crate catgirl_engine_macros

Crate catgirl_engine_macros 

Source
Expand description

Procedural Macros for the game engine

MacrosΒ§

generate_embedded_resources
Embeds resources folder into the binary

FunctionsΒ§

create_error πŸ”’
Create’s an error as a TokenStream to unwind to compiler
get_files πŸ”’
Recursively retrieve within the specified directory
parse_expr_macro πŸ”’
Parses Expression Macros
parse_resource_macro πŸ”’
Parses resource macros
parse_string_literal πŸ”’
Parses String Literals
shorten_file_paths πŸ”’
Shorten the path to only the part after the tail end
should_embed πŸ”’
Determines if a path should be embedded