Expand description
A type which can pull entity data out of a world.
The type of component references returned.
The fetch type yielded for each archetype.
The iterator type which pulls entity data out of a world.
Contains the type IDs read by the view.
Contains the type IDs written by the view.
Creates an iterator which will yield slices of entity data for each archetype.
This method may return mutable references to entity data via shared world references.
The caller must ensure that no two view iterators are alive at the same time which access
any components in a manner which may cause mutable aliasing.
Determines if this view type is valid. Panics if checks fail.
Returns true
if the given component access includes all permissions required by the view.
Returns the component types read by the view.
Returns the component types written to by the view.
Returns true
if the view reads the specified data type.
Returns true
if the view writes to the specified data type.
Returns a permissions struct declaring the component accesses required by the view.
impl<'a, A: View<'a> + 'a, B: View<'a> + 'a, C: View<'a> + 'a, D: View<'a> + 'a, E: View<'a> + 'a, F: View<'a> + 'a, G: View<'a> + 'a, H: View<'a> + 'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, B: View<'a> + 'a, C: View<'a> + 'a, D: View<'a> + 'a, E: View<'a> + 'a, F: View<'a> + 'a, G: View<'a> + 'a, H: View<'a> + 'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, C: View<'a> + 'a, D: View<'a> + 'a, E: View<'a> + 'a, F: View<'a> + 'a, G: View<'a> + 'a, H: View<'a> + 'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, D: View<'a> + 'a, E: View<'a> + 'a, F: View<'a> + 'a, G: View<'a> + 'a, H: View<'a> + 'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, E: View<'a> + 'a, F: View<'a> + 'a, G: View<'a> + 'a, H: View<'a> + 'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, F: View<'a> + 'a, G: View<'a> + 'a, H: View<'a> + 'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, G: View<'a> + 'a, H: View<'a> + 'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, H: View<'a> + 'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, I: View<'a> + 'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, J: View<'a> + 'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, K: View<'a> + 'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, L: View<'a> + 'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, M: View<'a> + 'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, N: View<'a> + 'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, O: View<'a> + 'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (O, P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, P: View<'a> + 'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (P, Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, Q: View<'a> + 'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (Q, R, S, T, U, V, W, X, Y, Z)
impl<'a, R: View<'a> + 'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (R, S, T, U, V, W, X, Y, Z)
impl<'a, S: View<'a> + 'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (S, T, U, V, W, X, Y, Z)
impl<'a, T: View<'a> + 'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (T, U, V, W, X, Y, Z)
impl<'a, U: View<'a> + 'a, V: View<'a> + 'a, W: View<'a> + 'a, X: View<'a> + 'a, Y: View<'a> + 'a, Z: View<'a> + 'a> View<'a> for (U, V, W, X, Y, Z)