[−][src]Function arcs::components::attached_to_entity
pub fn attached_to_entity(
world: &World,
entity: Entity
) -> impl Iterator<Item = (&'static ComponentVtable, Box<dyn Any>)> + '_
Looks up all specs::Component
s associated with this Entity
, yielding
copies of their current value.
Note
This requires the [decl_component!()
] macro to have been invoked on
the specs::Component
.