Struct rin::ecs::operators::ReadOr [−][src]
pub struct ReadOr<'a, T> where
T: TupleAny<'a>, { /* fields omitted */ }
Matches entities that have any of the passed components with read only access to those components
It returns an element per component being None those that don’t exist for that entity
for (pos, vel) in entities.iter_for::<ReadOr<(Position, Velocity)>>(){ if let Some(pos) = pos { } if let Some(vel) = vel { } }
Matches all entities that have a Position a Velocity or both. pos and vel will be None for entities that don’t have Position or Velocity respectively
Trait Implementations
impl<'a, T1, T2, T3, T4, T5, T6, T7> DataAccesses for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
T7: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
<T7 as Component>::Storage: Storage<'a, T7>,
[src]
impl<'a, T1, T2, T3, T4, T5, T6, T7> DataAccesses for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
T7: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
<T7 as Component>::Storage: Storage<'a, T7>,
[src]impl<'a, T1, T2> DataAccesses for ReadOr<'a, (T1, T2)> where
T2: Component,
T1: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
[src]
impl<'a, T1, T2> DataAccesses for ReadOr<'a, (T1, T2)> where
T2: Component,
T1: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
[src]impl<'a, T1, T2, T3, T4, T5, T6> DataAccesses for ReadOr<'a, (T1, T2, T3, T4, T5, T6)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
[src]
impl<'a, T1, T2, T3, T4, T5, T6> DataAccesses for ReadOr<'a, (T1, T2, T3, T4, T5, T6)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
[src]impl<'a, T1, T2, T3> DataAccesses for ReadOr<'a, (T1, T2, T3)> where
T3: Component,
T2: Component,
T1: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
[src]
impl<'a, T1, T2, T3> DataAccesses for ReadOr<'a, (T1, T2, T3)> where
T3: Component,
T2: Component,
T1: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
[src]impl<'a, T1, T2, T3, T4> DataAccesses for ReadOr<'a, (T1, T2, T3, T4)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
[src]
impl<'a, T1, T2, T3, T4> DataAccesses for ReadOr<'a, (T1, T2, T3, T4)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
[src]impl<'a, T1, T2, T3, T4, T5> DataAccesses for ReadOr<'a, (T1, T2, T3, T4, T5)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
[src]
impl<'a, T1, T2, T3, T4, T5> DataAccesses for ReadOr<'a, (T1, T2, T3, T4, T5)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
[src]impl<'a, T1, T2, T3, T4, T5, T6, T7, T8> DataAccesses for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
T7: Component,
T8: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
<T7 as Component>::Storage: Storage<'a, T7>,
<T8 as Component>::Storage: Storage<'a, T8>,
[src]
impl<'a, T1, T2, T3, T4, T5, T6, T7, T8> DataAccesses for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
T7: Component,
T8: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
<T7 as Component>::Storage: Storage<'a, T7>,
<T8 as Component>::Storage: Storage<'a, T8>,
[src]impl<'a, T> FromComponent<'a, <T as TupleAny<'a>>::AnyTarget> for ReadOr<'a, T> where
T: TupleAny<'a>,
[src]
impl<'a, T> FromComponent<'a, <T as TupleAny<'a>>::AnyTarget> for ReadOr<'a, T> where
T: TupleAny<'a>,
[src]pub fn from_component(
component: <T as TupleAny<'a>>::AnyTarget
) -> ReadOr<'a, T>
[src]
component: <T as TupleAny<'a>>::AnyTarget
) -> ReadOr<'a, T>
impl<'a, T1, T2, T3, T4, T5, T6, T7, T8> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
T5: Component + Send,
T6: Component + Send,
T7: Component + Send,
T8: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
<T5 as Component>::Storage: for<'s> Storage<'s, T5>,
<T6 as Component>::Storage: for<'s> Storage<'s, T6>,
<T7 as Component>::Storage: for<'s> Storage<'s, T7>,
<T8 as Component>::Storage: for<'s> Storage<'s, T8>,
[src]
impl<'a, T1, T2, T3, T4, T5, T6, T7, T8> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
T5: Component + Send,
T6: Component + Send,
T7: Component + Send,
T8: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
<T5 as Component>::Storage: for<'s> Storage<'s, T5>,
<T6 as Component>::Storage: for<'s> Storage<'s, T6>,
<T7 as Component>::Storage: for<'s> Storage<'s, T7>,
<T8 as Component>::Storage: for<'s> Storage<'s, T8>,
[src]type Iter = Iter8<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, T7, ReadGuardRef<'a, <T7 as Component>::Storage>, T8, ReadGuardRef<'a, <T8 as Component>::Storage>, LazyIndexGuard<'a>>
type IterMut = Iter8<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, T7, ReadGuardRef<'a, <T7 as Component>::Storage>, T8, ReadGuardRef<'a, <T8 as Component>::Storage>, LazyIndexGuard<'a>>
type Components = (T1, T2, T3, T4, T5, T6, T7, T8)
type ComponentsRef = (Option<<<T1 as Component>::Storage as Storage<'a, T1>>::Get>, Option<<<T2 as Component>::Storage as Storage<'a, T2>>::Get>, Option<<<T3 as Component>::Storage as Storage<'a, T3>>::Get>, Option<<<T4 as Component>::Storage as Storage<'a, T4>>::Get>, Option<<<T5 as Component>::Storage as Storage<'a, T5>>::Get>, Option<<<T6 as Component>::Storage as Storage<'a, T6>>::Get>, Option<<<T7 as Component>::Storage as Storage<'a, T7>>::Get>, Option<<<T8 as Component>::Storage as Storage<'a, T8>>::Get>)
type Storage = StorageRef8<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, T7, ReadGuardRef<'a, <T7 as Component>::Storage>, T8, ReadGuardRef<'a, <T8 as Component>::Storage>, LazyIndexGuard<'a>>
pub fn query_mask<E>(entities: &E) -> Bitmask where
E: EntitiesStorage,
[src]
E: EntitiesStorage,
pub fn into_iter<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'a, T1, T2, T3, T4, T5, T6, T7> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
T5: Component + Send,
T6: Component + Send,
T7: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
<T5 as Component>::Storage: for<'s> Storage<'s, T5>,
<T6 as Component>::Storage: for<'s> Storage<'s, T6>,
<T7 as Component>::Storage: for<'s> Storage<'s, T7>,
[src]
impl<'a, T1, T2, T3, T4, T5, T6, T7> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
T5: Component + Send,
T6: Component + Send,
T7: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
<T5 as Component>::Storage: for<'s> Storage<'s, T5>,
<T6 as Component>::Storage: for<'s> Storage<'s, T6>,
<T7 as Component>::Storage: for<'s> Storage<'s, T7>,
[src]type Iter = Iter7<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, T7, ReadGuardRef<'a, <T7 as Component>::Storage>, LazyIndexGuard<'a>>
type IterMut = Iter7<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, T7, ReadGuardRef<'a, <T7 as Component>::Storage>, LazyIndexGuard<'a>>
type Components = (T1, T2, T3, T4, T5, T6, T7)
type ComponentsRef = (Option<<<T1 as Component>::Storage as Storage<'a, T1>>::Get>, Option<<<T2 as Component>::Storage as Storage<'a, T2>>::Get>, Option<<<T3 as Component>::Storage as Storage<'a, T3>>::Get>, Option<<<T4 as Component>::Storage as Storage<'a, T4>>::Get>, Option<<<T5 as Component>::Storage as Storage<'a, T5>>::Get>, Option<<<T6 as Component>::Storage as Storage<'a, T6>>::Get>, Option<<<T7 as Component>::Storage as Storage<'a, T7>>::Get>)
type Storage = StorageRef7<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, T7, ReadGuardRef<'a, <T7 as Component>::Storage>, LazyIndexGuard<'a>>
pub fn query_mask<E>(entities: &E) -> Bitmask where
E: EntitiesStorage,
[src]
E: EntitiesStorage,
pub fn into_iter<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'a, T1, T2, T3, T4, T5, T6> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
T5: Component + Send,
T6: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
<T5 as Component>::Storage: for<'s> Storage<'s, T5>,
<T6 as Component>::Storage: for<'s> Storage<'s, T6>,
[src]
impl<'a, T1, T2, T3, T4, T5, T6> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
T5: Component + Send,
T6: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
<T5 as Component>::Storage: for<'s> Storage<'s, T5>,
<T6 as Component>::Storage: for<'s> Storage<'s, T6>,
[src]type Iter = Iter6<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, LazyIndexGuard<'a>>
type IterMut = Iter6<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, LazyIndexGuard<'a>>
type Components = (T1, T2, T3, T4, T5, T6)
type ComponentsRef = (Option<<<T1 as Component>::Storage as Storage<'a, T1>>::Get>, Option<<<T2 as Component>::Storage as Storage<'a, T2>>::Get>, Option<<<T3 as Component>::Storage as Storage<'a, T3>>::Get>, Option<<<T4 as Component>::Storage as Storage<'a, T4>>::Get>, Option<<<T5 as Component>::Storage as Storage<'a, T5>>::Get>, Option<<<T6 as Component>::Storage as Storage<'a, T6>>::Get>)
type Storage = StorageRef6<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, T6, ReadGuardRef<'a, <T6 as Component>::Storage>, LazyIndexGuard<'a>>
pub fn query_mask<E>(entities: &E) -> Bitmask where
E: EntitiesStorage,
[src]
E: EntitiesStorage,
pub fn into_iter<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5, T6)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4, T5, T6)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4, T5, T6)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'a, T1, T2, T3, T4> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
[src]
impl<'a, T1, T2, T3, T4> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
[src]type Iter = Iter4<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, LazyIndexGuard<'a>>
type IterMut = Iter4<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, LazyIndexGuard<'a>>
type Components = (T1, T2, T3, T4)
type ComponentsRef = (Option<<<T1 as Component>::Storage as Storage<'a, T1>>::Get>, Option<<<T2 as Component>::Storage as Storage<'a, T2>>::Get>, Option<<<T3 as Component>::Storage as Storage<'a, T3>>::Get>, Option<<<T4 as Component>::Storage as Storage<'a, T4>>::Get>)
type Storage = StorageRef4<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, LazyIndexGuard<'a>>
pub fn query_mask<E>(entities: &E) -> Bitmask where
E: EntitiesStorage,
[src]
E: EntitiesStorage,
pub fn into_iter<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'a, T1, T2> UnorderedData<'a> for ReadOr<'a, (T1, T2)> where
T2: Component + Send,
T1: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
[src]
impl<'a, T1, T2> UnorderedData<'a> for ReadOr<'a, (T1, T2)> where
T2: Component + Send,
T1: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
[src]type Iter = Iter2<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, LazyIndexGuard<'a>>
type IterMut = Iter2<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, LazyIndexGuard<'a>>
type Components = (T1, T2)
type ComponentsRef = (Option<<<T1 as Component>::Storage as Storage<'a, T1>>::Get>, Option<<<T2 as Component>::Storage as Storage<'a, T2>>::Get>)
type Storage = StorageRef2<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, LazyIndexGuard<'a>>
pub fn query_mask<E>(entities: &E) -> Bitmask where
E: EntitiesStorage,
[src]
E: EntitiesStorage,
pub fn into_iter<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'a, T1, T2, T3> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
[src]
impl<'a, T1, T2, T3> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
[src]type Iter = Iter3<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, LazyIndexGuard<'a>>
type IterMut = Iter3<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, LazyIndexGuard<'a>>
type Components = (T1, T2, T3)
type ComponentsRef = (Option<<<T1 as Component>::Storage as Storage<'a, T1>>::Get>, Option<<<T2 as Component>::Storage as Storage<'a, T2>>::Get>, Option<<<T3 as Component>::Storage as Storage<'a, T3>>::Get>)
type Storage = StorageRef3<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, LazyIndexGuard<'a>>
pub fn query_mask<E>(entities: &E) -> Bitmask where
E: EntitiesStorage,
[src]
E: EntitiesStorage,
pub fn into_iter<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'a, T1, T2, T3, T4, T5> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4, T5)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
T5: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
<T5 as Component>::Storage: for<'s> Storage<'s, T5>,
[src]
impl<'a, T1, T2, T3, T4, T5> UnorderedData<'a> for ReadOr<'a, (T1, T2, T3, T4, T5)> where
T3: Component + Send,
T2: Component + Send,
T1: Component + Send,
T4: Component + Send,
T5: Component + Send,
<T1 as Component>::Storage: for<'s> Storage<'s, T1>,
<T2 as Component>::Storage: for<'s> Storage<'s, T2>,
<T3 as Component>::Storage: for<'s> Storage<'s, T3>,
<T4 as Component>::Storage: for<'s> Storage<'s, T4>,
<T5 as Component>::Storage: for<'s> Storage<'s, T5>,
[src]type Iter = Iter5<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, LazyIndexGuard<'a>>
type IterMut = Iter5<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, LazyIndexGuard<'a>>
type Components = (T1, T2, T3, T4, T5)
type ComponentsRef = (Option<<<T1 as Component>::Storage as Storage<'a, T1>>::Get>, Option<<<T2 as Component>::Storage as Storage<'a, T2>>::Get>, Option<<<T3 as Component>::Storage as Storage<'a, T3>>::Get>, Option<<<T4 as Component>::Storage as Storage<'a, T4>>::Get>, Option<<<T5 as Component>::Storage as Storage<'a, T5>>::Get>)
type Storage = StorageRef5<'a, T1, ReadGuardRef<'a, <T1 as Component>::Storage>, T2, ReadGuardRef<'a, <T2 as Component>::Storage>, T3, ReadGuardRef<'a, <T3 as Component>::Storage>, T4, ReadGuardRef<'a, <T4 as Component>::Storage>, T5, ReadGuardRef<'a, <T5 as Component>::Storage>, LazyIndexGuard<'a>>
pub fn query_mask<E>(entities: &E) -> Bitmask where
E: EntitiesStorage,
[src]
E: EntitiesStorage,
pub fn into_iter<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadOr<'a, (T1, T2, T3, T4, T5)> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4, T5)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<ReadOr<'a, (T1, T2, T3, T4, T5)> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'a, T1, T2, T3, T4> SafeIter<'a> for ReadOr<'a, (T1, T2, T3, T4)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
[src]
T3: Component,
T2: Component,
T1: Component,
T4: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
impl<'a, T1, T2, T3, T4, T5> SafeIter<'a> for ReadOr<'a, (T1, T2, T3, T4, T5)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
[src]
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
impl<'a, T1, T2, T3, T4, T5, T6, T7> SafeIter<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
T7: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
<T7 as Component>::Storage: Storage<'a, T7>,
[src]
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
T7: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
<T7 as Component>::Storage: Storage<'a, T7>,
impl<'a, T1, T2, T3, T4, T5, T6, T7, T8> SafeIter<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6, T7, T8)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
T7: Component,
T8: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
<T7 as Component>::Storage: Storage<'a, T7>,
<T8 as Component>::Storage: Storage<'a, T8>,
[src]
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
T7: Component,
T8: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
<T7 as Component>::Storage: Storage<'a, T7>,
<T8 as Component>::Storage: Storage<'a, T8>,
impl<'a, T1, T2, T3> SafeIter<'a> for ReadOr<'a, (T1, T2, T3)> where
T3: Component,
T2: Component,
T1: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
[src]
T3: Component,
T2: Component,
T1: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
impl<'a, T1, T2> SafeIter<'a> for ReadOr<'a, (T1, T2)> where
T2: Component,
T1: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
[src]
T2: Component,
T1: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
impl<'a, T1, T2, T3, T4, T5, T6> SafeIter<'a> for ReadOr<'a, (T1, T2, T3, T4, T5, T6)> where
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
[src]
T3: Component,
T2: Component,
T1: Component,
T4: Component,
T5: Component,
T6: Component,
<T1 as Component>::Storage: Storage<'a, T1>,
<T2 as Component>::Storage: Storage<'a, T2>,
<T3 as Component>::Storage: Storage<'a, T3>,
<T4 as Component>::Storage: Storage<'a, T4>,
<T5 as Component>::Storage: Storage<'a, T5>,
<T6 as Component>::Storage: Storage<'a, T6>,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for ReadOr<'a, T> where
<T as TupleAny<'a>>::AnyTarget: RefUnwindSafe,
<T as TupleAny<'a>>::AnyTarget: RefUnwindSafe,
impl<'a, T> Send for ReadOr<'a, T> where
<T as TupleAny<'a>>::AnyTarget: Send,
<T as TupleAny<'a>>::AnyTarget: Send,
impl<'a, T> Sync for ReadOr<'a, T> where
<T as TupleAny<'a>>::AnyTarget: Sync,
<T as TupleAny<'a>>::AnyTarget: Sync,
impl<'a, T> Unpin for ReadOr<'a, T> where
<T as TupleAny<'a>>::AnyTarget: Unpin,
<T as TupleAny<'a>>::AnyTarget: Unpin,
impl<'a, T> UnwindSafe for ReadOr<'a, T> where
<T as TupleAny<'a>>::AnyTarget: UnwindSafe,
<T as TupleAny<'a>>::AnyTarget: UnwindSafe,
Blanket Implementations
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 3]; 3]> + 'static> for U where
T: AsUniform<[[f32; 3]; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 3]; 3]> + 'static> for U where
T: AsUniform<[[f32; 3]; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 4]; 4]> + 'static> for U where
T: AsUniform<[[f32; 4]; 4]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 4]; 4]> + 'static> for U where
T: AsUniform<[[f32; 4]; 4]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 2]> + 'static> for U where
T: AsUniform<[f32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 2]> + 'static> for U where
T: AsUniform<[f32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 3]> + 'static> for U where
T: AsUniform<[f32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 3]> + 'static> for U where
T: AsUniform<[f32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 2]> + 'static> for U where
T: AsUniform<[i32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 2]> + 'static> for U where
T: AsUniform<[i32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 3]> + 'static> for U where
T: AsUniform<[i32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 3]> + 'static> for U where
T: AsUniform<[i32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 2]> + 'static> for U where
T: AsUniform<[u32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 2]> + 'static> for U where
T: AsUniform<[u32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 3]> + 'static> for U where
T: AsUniform<[u32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 3]> + 'static> for U where
T: AsUniform<[u32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 3]; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 3]; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 3]; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 3]; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 4]; 4]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 4]; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 4]; 4]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 4]; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<f32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<f32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<f32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<f32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<i32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<i32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<i32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<i32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<u32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<u32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<u32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<u32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = i32> + 'static> for U where
T: AsUniform<i32>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = i32> + 'static> for U where
T: AsUniform<i32>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = u32> + 'static> for U where
T: AsUniform<u32>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = u32> + 'static> for U where
T: AsUniform<u32>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]