| Crates.io | keeshond_derive |
| lib.rs | keeshond_derive |
| version | 0.26.0 |
| created_at | 2022-04-06 02:30:38.336352+00 |
| updated_at | 2022-04-06 02:30:38.336352+00 |
| description | Derive macro crate for keeshond |
| homepage | |
| repository | https://gitlab.com/cosmicchipsocket/keeshond |
| max_upload_size | |
| id | 562882 |
| size | 18,452 |
Derive macros for Keeshond Game Engine.
Use this to easily derive Component and related traits:
#[derive(Component)]
struct Doggy
{
// ...
}
You can also use the component attribute on the struct to configure how Component is derived:
#[derive(Component)]
#[component(removal = "fast")]
struct Bunny
{
// ...
}
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.