pub trait TestApp {
// Required method
fn collect_events<E: Event + Clone>(
&mut self,
) -> Box<dyn Iterator<Item = E>>;
}Expand description
An extension for the standard Bevy app that adds more unit test helper functions.
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.