Struct oxygengine_core::ecs::PreparedQuery[][src]

pub struct PreparedQuery<Q> where
    Q: Query
{ /* fields omitted */ }
Expand description

A prepared query can be stored independently of the World to amortize query set-up costs.

Implementations

Create a prepared query which is not yet attached to any world

Query world, using dynamic borrow checking

This will panic if it would violate an existing unique reference or construct an invalid unique reference.

Query a uniquely borrowed world

Avoids the cost of the dynamic borrow checking performed by query.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.