Struct rin::ecs::storage::SubStorages [−][src]
pub struct SubStorages<'a> { /* fields omitted */ }
Implementations
impl<'a> SubStorages<'a>
[src]
impl<'a> SubStorages<'a>
[src]pub fn split<U>(&mut self) -> (SubStorages<'_>, SubStorages<'_>) where
U: DataAccesses,
[src]
U: DataAccesses,
pub fn storage<C>(&self) -> Option<ReadGuardRef<'a, <C as Component>::Storage>> where
C: Component,
[src]
C: Component,
pub fn storage_mut<C>(
&self
) -> Option<WriteGuardRef<'a, <C as Component>::Storage, <C as Component>::MutStorageCacheGuard>> where
C: Component,
[src]
&self
) -> Option<WriteGuardRef<'a, <C as Component>::Storage, <C as Component>::MutStorageCacheGuard>> where
C: Component,
pub fn storage_thread_local<C>(
&self
) -> Option<ReadGuardRef<'a, <C as Component>::Storage>> where
C: Component,
[src]
&self
) -> Option<ReadGuardRef<'a, <C as Component>::Storage>> where
C: Component,
pub fn storage_thread_local_mut<C>(
&self
) -> Option<WriteGuardRef<'a, <C as Component>::Storage, <C as Component>::MutStorageCacheGuard>> where
C: Component,
[src]
&self
) -> Option<WriteGuardRef<'a, <C as Component>::Storage, <C as Component>::MutStorageCacheGuard>> where
C: Component,
pub fn update_changed<C>(&self) where
C: Component,
<C as Component>::Storage: AutoChangedStorageExt<'a>,
[src]
C: Component,
<C as Component>::Storage: AutoChangedStorageExt<'a>,
pub fn update_changed_thread_local<C>(&self) where
C: Component,
<C as Component>::Storage: AutoChangedStorageExt<'a>,
[src]
C: Component,
<C as Component>::Storage: AutoChangedStorageExt<'a>,
pub fn component_mask<C>(&self) -> U256 where
C: 'static,
[src]
C: 'static,
pub fn entities_ref(&self) -> &'a [(Entity, U256)]ⓘ
[src]
pub fn check_storage_changed(&self, id: TypeId) -> bool
[src]
pub fn entities_for_mask<S>(
&self,
query_mask: Bitmask,
storage: &S
) -> IndexGuard<'a> where
S: FastIndexExt,
[src]
&self,
query_mask: Bitmask,
storage: &S
) -> IndexGuard<'a> where
S: FastIndexExt,
pub fn any_has_mask(&self, cmask: Bitmask) -> bool
[src]
pub fn ordered_entities_for_thread_local<C, S>(
&self,
query_mask: Bitmask,
unordered_storage: &S
) -> OrderedIndexGuard<'a> where
C: Component,
S: FastIndexExt,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
[src]
&self,
query_mask: Bitmask,
unordered_storage: &S
) -> OrderedIndexGuard<'a> where
C: Component,
S: FastIndexExt,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
pub fn ordered_entities_for<C, S>(
&self,
query_mask: Bitmask,
unordered_storage: &S
) -> OrderedIndexGuard<'a> where
C: Component,
S: FastIndexExt,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
[src]
&self,
query_mask: Bitmask,
unordered_storage: &S
) -> OrderedIndexGuard<'a> where
C: Component,
S: FastIndexExt,
<C as Component>::Storage: for<'b> HierarchicalStorage<'b, C>,
pub unsafe fn creation_storage<C>(&mut self) -> CreationSto<'_, C> where
C: ComponentThreadLocal,
[src]
C: ComponentThreadLocal,
pub unsafe fn storages(&self) -> &Storages
[src]
pub unsafe fn storages_mut(&self) -> &mut Storages
[src]
pub fn debug_component<S>(
&self,
entity: &Entity,
id: &TypeId,
serializer: S
) -> Result<(), Error> where
S: Serializer,
[src]
&self,
entity: &Entity,
id: &TypeId,
serializer: S
) -> Result<(), Error> where
S: Serializer,
pub fn components_masks_iter(&self) -> impl Iterator<Item = (&TypeId, &U256)>
[src]
pub fn check(&self, entity: &Entity, entity_mask: &U256, mask: &Bitmask) -> bool
[src]
Trait Implementations
impl<'a> Clone for SubStorages<'a>
[src]
impl<'a> Clone for SubStorages<'a>
[src]pub fn clone(&self) -> SubStorages<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SubStorages<'a>
impl<'a> !Send for SubStorages<'a>
impl<'a> !Sync for SubStorages<'a>
impl<'a> Unpin for SubStorages<'a>
impl<'a> !UnwindSafe for SubStorages<'a>
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]