Derive Macro Resource

Source
#[derive(Resource)]
Expand description

Implements Resource for the type.

ยงExamples

use my_ecs::prelude::*;

#[derive(Resource)]
struct R(i32);