Function insert_from_world

Source
pub fn insert_from_world<T: Component + FromWorld>(
    mode: InsertMode,
) -> impl EntityCommand
Expand description

An EntityCommand that adds a component to an entity using the component’s FromWorld implementation.