Function insert_resource

Source
pub fn insert_resource<R>(resource: R) -> impl Command
where R: Resource,
Expand description

A Command that inserts a Resource into the world.