Skip to main content

set

Function set 

Source
pub fn set(
    scope: &Scope<'_>,
    entity: Entity,
    name: &str,
    partial: Partial<'static, false>,
) -> Result<(), ComponentError>
Available on crate feature reflect only.
Expand description

Overwrite entity’s name component with the value partial holds.