QueryFunction

Type Alias QueryFunction 

Source
pub type QueryFunction = fn(Entity, &World) -> bool;
Expand description

A function that checks if an entity will be filtered by the Query.

This type is used in a QueryFilter.