pub trait Modify: Sized {
// Required method
fn modifier(&mut self) -> &mut Modifier;
}Expand description
The Modify trait is used to modify entities before they are spawned or recomposed. It is used to add children and
observers to the entity. See the Modifier struct for more information.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.