Enum ambient_api::ecs::QueryEvent
source · pub enum QueryEvent {
Spawn,
Despawn,
}
Expand description
When this EventQuery should return results.
Variants§
Spawn
When this collection of components is spawned.
Despawn
When this collection of components is despawned.
Auto Trait Implementations§
impl RefUnwindSafe for QueryEvent
impl Send for QueryEvent
impl Sync for QueryEvent
impl Unpin for QueryEvent
impl UnwindSafe for QueryEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.