Skip to main content

current_partial_component

Function current_partial_component 

Source
fn current_partial_component<C: Facet<'static> + Clone>(
    scope: &Scope<'_>,
    entity: Entity,
) -> Result<Partial<'static, false>, ComponentError>
Available on crate feature reflect only.
Expand description

A partial over the entity’s current C, seeded with a copy of it.