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.
pub fn insert_from_world<T: Component + FromWorld>(
mode: InsertMode,
) -> impl EntityCommand
An EntityCommand
that adds a component to an entity using
the component’s FromWorld
implementation.