Derive Macro Split

Source
#[derive(Split)]
{
    // Attributes available to this derive:
    #[module]
}
Expand description

Derive impl. Comments in the code show expansion of the following example struct:

pub struct Ctx {
    geometry: GeometryCtx,
    material: MaterialCtx,
    mesh: MeshCtx,
    scene: SceneCtx,
}