pub trait Query<'a>: Sized {
type Fetch: Fetch<'a, Item = Self>;
fn borrow(state: &BorrowState);
fn release(state: &BorrowState);
}
A collection of component types to fetch from a World
type Fetch: Fetch<'a, Item = Self>
Helper used to process the query
Loading content...
fn borrow(state: &BorrowState)
Dynamically borrow the component types to be accessed, or panic if borrows can't be acquired
fn release(state: &BorrowState)
Loading content...
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>> Query<'a> for (A, B, C, D, E)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>> Query<'a> for (A, B, C, D, E, F)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>> Query<'a> for (A, B, C, D, E, F, G)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>, H: Query<'a>> Query<'a> for (A, B, C, D, E, F, G, H)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>, H: Query<'a>, I: Query<'a>> Query<'a> for (A, B, C, D, E, F, G, H, I)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>, H: Query<'a>, I: Query<'a>, J: Query<'a>> Query<'a> for (A, B, C, D, E, F, G, H, I, J)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>, H: Query<'a>, I: Query<'a>, J: Query<'a>, K: Query<'a>> Query<'a> for (A, B, C, D, E, F, G, H, I, J, K)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>, H: Query<'a>, I: Query<'a>, J: Query<'a>, K: Query<'a>, L: Query<'a>> Query<'a> for (A, B, C, D, E, F, G, H, I, J, K, L)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>, H: Query<'a>, I: Query<'a>, J: Query<'a>, K: Query<'a>, L: Query<'a>, M: Query<'a>> Query<'a> for (A, B, C, D, E, F, G, H, I, J, K, L, M)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>, H: Query<'a>, I: Query<'a>, J: Query<'a>, K: Query<'a>, L: Query<'a>, M: Query<'a>, N: Query<'a>> Query<'a> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)
[src]
impl<'a, A: Query<'a>, B: Query<'a>, C: Query<'a>, D: Query<'a>, E: Query<'a>, F: Query<'a>, G: Query<'a>, H: Query<'a>, I: Query<'a>, J: Query<'a>, K: Query<'a>, L: Query<'a>, M: Query<'a>, N: Query<'a>, O: Query<'a>> Query<'a> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)
[src]
Loading content...
Loading content...