pub struct QueryPlan {
pub mode: QueryMode,
pub driver_domain: Option<SemanticDomain>,
pub peer_domains: HashSet<SemanticDomain>,
pub driver_signature: Vec<TypeId>,
}Expand description
A pre-calculated execution strategy for a specific set of component types.
This plan is cached in the World to avoid re-analyzing query signatures
on every frame.
Fields§
§mode: QueryModeThe execution mode (Native or Transversal).
driver_domain: Option<SemanticDomain>If Transversal, this is the domain that drives the iteration.
peer_domains: HashSet<SemanticDomain>If Transversal, these are the peer domains that must be joined.
driver_signature: Vec<TypeId>The signature used to find matching pages (driver domain components).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryPlan
impl RefUnwindSafe for QueryPlan
impl Send for QueryPlan
impl Sync for QueryPlan
impl Unpin for QueryPlan
impl UnwindSafe for QueryPlan
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