Struct rin::ecs::storage::SubStorages[][src]

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

Implementations

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

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

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

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

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

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

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

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

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

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

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[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]

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]

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]

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

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]

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]

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> Any for T where
    T: Any
[src]

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

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

impl<T> Downcast for T where
    T: Any
[src]

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

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]