pub trait EntityCommandsDiffExt {
// Required method
fn apply_diff<C: Diffable>(&mut self, diff: C::Diff) -> &mut Self;
}Expand description
Extension trait for EntityCommands to apply diffs.
See also EntityDiffExt.
Required Methods§
Sourcefn apply_diff<C: Diffable>(&mut self, diff: C::Diff) -> &mut Self
fn apply_diff<C: Diffable>(&mut self, diff: C::Diff) -> &mut Self
Queues application of a diff to component C and records it in the entity’s DiffHistory.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".