Struct rin::ecs::operators::RefN [−][src]
pub struct RefN<'a, T, R> where
R: UnorderedData<'a>, { /* fields omitted */ }
Trait Implementations
impl<'a, T, R> DataAccesses for RefN<'a, T, R> where
T: OneToNComponent,
R: UnorderedData<'a> + DataAccesses,
<T as Component>::Storage: for<'b> OneToNStorage<'b, T>,
<R as UnorderedData<'a>>::Storage: IntoSendStorage<'a>,
[src]
impl<'a, T, R> DataAccesses for RefN<'a, T, R> where
T: OneToNComponent,
R: UnorderedData<'a> + DataAccesses,
<T as Component>::Storage: for<'b> OneToNStorage<'b, T>,
<R as UnorderedData<'a>>::Storage: IntoSendStorage<'a>,
[src]impl<'a, T, R> Deref for RefN<'a, T, R> where
R: UnorderedData<'a>,
[src]
impl<'a, T, R> Deref for RefN<'a, T, R> where
R: UnorderedData<'a>,
[src]type Target = RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>
The resulting type after dereferencing.
pub fn deref(
&self
) -> &RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>
[src]
&self
) -> &RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>
impl<'a, T, R> DerefMut for RefN<'a, T, R> where
R: UnorderedData<'a>,
[src]
impl<'a, T, R> DerefMut for RefN<'a, T, R> where
R: UnorderedData<'a>,
[src]pub fn deref_mut(
&mut self
) -> &mut RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>
[src]
&mut self
) -> &mut RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>
impl<'a, T, R> FromComponent<'a, RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>> for RefN<'a, T, R> where
R: UnorderedData<'a>,
[src]
impl<'a, T, R> FromComponent<'a, RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>> for RefN<'a, T, R> where
R: UnorderedData<'a>,
[src]pub fn from_component(
component: RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>
) -> RefN<'a, T, R>
[src]
component: RefCollection<'a, T, <R as UnorderedData<'a>>::ComponentsRef>
) -> RefN<'a, T, R>
impl<'a, T, R> UnorderedData<'a> for RefN<'a, T, R> where
T: OneToNComponent,
R: UnorderedData<'a> + 'a,
<R as UnorderedData<'a>>::Storage: StorageRef<'a>,
<T as Component>::Storage: for<'b> OneToNStorage<'b, T>,
[src]
impl<'a, T, R> UnorderedData<'a> for RefN<'a, T, R> where
T: OneToNComponent,
R: UnorderedData<'a> + 'a,
<R as UnorderedData<'a>>::Storage: StorageRef<'a>,
<T as Component>::Storage: for<'b> OneToNStorage<'b, T>,
[src]type Iter = RefIntoIter<'a, T, R>
type IterMut = RefIntoIterMut<'a, T, R>
type Components = <R as UnorderedData<'a>>::Components
type ComponentsRef = RefCollection<'a, T, <<R as UnorderedData<'a>>::Storage as StorageRef<'a>>::Component>
type Storage = RefNStorage<'a, T, ReadGuardRef<'a, <T as Component>::Storage>, R, <R as UnorderedData<'a>>::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
) -> <RefN<'a, T, R> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <RefN<'a, T, R> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <RefN<'a, T, R> as UnorderedData<'a>>::IterMut where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <RefN<'a, T, R> as UnorderedData<'a>>::IterMut where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<RefN<'a, T, R> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<RefN<'a, T, R> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'a, T, R> SafeIter<'a> for RefN<'a, T, R> where
R: UnorderedData<'a> + ReadOnlyOp<'a>,
<R as UnorderedData<'a>>::Storage: IntoSendStorage<'a>,
[src]
R: UnorderedData<'a> + ReadOnlyOp<'a>,
<R as UnorderedData<'a>>::Storage: IntoSendStorage<'a>,
impl<'a, T, R> SafeStreamingIter<'a> for RefN<'a, T, R> where
R: UnorderedData<'a>,
<R as UnorderedData<'a>>::Storage: IntoSendStorage<'a>,
[src]
R: UnorderedData<'a>,
<R as UnorderedData<'a>>::Storage: IntoSendStorage<'a>,
Auto Trait Implementations
impl<'a, T, R> !RefUnwindSafe for RefN<'a, T, R>
impl<'a, T, R> !Send for RefN<'a, T, R>
impl<'a, T, R> !Sync for RefN<'a, T, R>
impl<'a, T, R> Unpin for RefN<'a, T, R>
impl<'a, T, R> !UnwindSafe for RefN<'a, T, R>
Blanket Implementations
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]