[][src]Derive Macro sardonyx_derive::PrefabData

#[derive(PrefabData)]
{
    // Attributes available to this derive:
    #[prefab]
}

Deriving a Prefab requires that sardonyx::ecs::Entity, sardonyx:assets::{PrefabData, ProgressCounter} and sardonyx::error::Error are imported and visible in the current scope. This is due to how Rust macros work.