Struct rinecs::storage::SubStorages[][src]

pub struct SubStorages<'a> { /* fields omitted */ }

Implementations

impl<'a> SubStorages<'a>[src]

pub fn split<U: DataAccesses>(&mut self) -> (SubStorages<'_>, SubStorages<'_>)[src]

pub fn storage<C: Component>(
    &self
) -> Option<ReadGuardRef<'a, <C as Component>::Storage>>
[src]

pub fn storage_mut<C: Component>(
    &self
) -> Option<WriteGuardRef<'a, <C as Component>::Storage, <C as Component>::MutStorageCacheGuard>>
[src]

pub fn storage_thread_local<C: Component>(
    &self
) -> Option<ReadGuardRef<'a, <C as Component>::Storage>>
[src]

pub fn storage_thread_local_mut<C: Component>(
    &self
) -> Option<WriteGuardRef<'a, <C as Component>::Storage, <C as Component>::MutStorageCacheGuard>>
[src]

pub fn update_changed<C: Component>(&self) where
    <C as Component>::Storage: AutoChangedStorageExt<'a>, 
[src]

pub fn update_changed_thread_local<C: Component>(&self) where
    <C as Component>::Storage: AutoChangedStorageExt<'a>, 
[src]

pub fn component_mask<C: 'static>(&self) -> MaskType[src]

pub fn entities_ref(&self) -> &'a [(Entity, MaskType)][src]

pub fn check_storage_changed(&self, id: Id) -> bool[src]

pub fn entities_for_mask<S: FastIndexExt>(
    &self,
    query_mask: Bitmask,
    storage: &S
) -> IndexGuard<'a>
[src]

pub fn any_has_mask(&self, cmask: Bitmask) -> bool[src]

pub fn ordered_entities_for_thread_local<C: Component, S: FastIndexExt>(
    &self,
    query_mask: Bitmask,
    unordered_storage: &S
) -> OrderedIndexGuard<'a> where
    <C as Component>::Storage: HierarchicalStorage<'b, C>, 
[src]

pub fn ordered_entities_for<C: Component, S: FastIndexExt>(
    &self,
    query_mask: Bitmask,
    unordered_storage: &S
) -> OrderedIndexGuard<'a> where
    <C as Component>::Storage: HierarchicalStorage<'b, C>, 
[src]

pub unsafe fn creation_storage<C: ComponentThreadLocal>(
    &mut self
) -> CreationSto<'_, C>
[src]

pub unsafe fn storages(&self) -> &Storages[src]

pub unsafe fn storages_mut(&self) -> &mut Storages[src]

pub fn debug_component<S: Serializer>(
    &self,
    entity: &Entity,
    id: &Id,
    serializer: S
) -> Result<(), Error>
[src]

pub fn components_masks_iter(
    &self
) -> impl Iterator<Item = (&TypeId, &MaskType)>
[src]

pub fn check(
    &self,
    entity: &Entity,
    entity_mask: &MaskType,
    mask: &Bitmask
) -> bool
[src]

Trait Implementations

impl<'a> Clone for SubStorages<'a>[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<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.