Trait bevy_tweening::Targetable
source · pub trait Targetable<T> {
// Required method
fn target_mut(&mut self) -> &mut T;
}
Expand description
Trait to workaround the discrepancies of the change detection mechanisms of assets and components.
Required Methods§
sourcefn target_mut(&mut self) -> &mut T
fn target_mut(&mut self) -> &mut T
Dereference the target, triggering any change detection, and return a mutable reference.