Struct rs_ecs::With[][src]

pub struct With<S, C>(_);
Expand description

A query specification to iterate over entities with a certain component, but without borrowing that component.

See also Query::with()

Examples

A query for components of type u32 and bool, only matching entities with a component of type f32.

let query = Query::<With<(&u32, &bool), f32>>::new();

Trait Implementations

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.