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
impl<S, C> RefUnwindSafe for With<S, C> where
C: RefUnwindSafe,
S: RefUnwindSafe,
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, C> Send for With<S, C> where
C: Send,
S: Send,
C: Send,
S: Send,
impl<S, C> Sync for With<S, C> where
C: Sync,
S: Sync,
C: Sync,
S: Sync,
impl<S, C> Unpin for With<S, C> where
C: Unpin,
S: Unpin,
C: Unpin,
S: Unpin,
impl<S, C> UnwindSafe for With<S, C> where
C: UnwindSafe,
S: UnwindSafe,
C: UnwindSafe,
S: UnwindSafe,