Struct specs::CheckStorage
[−]
[src]
pub struct CheckStorage<'a, T, D> { /* fields omitted */ }
A storage type that iterates entities that have a particular component type, but does not return the component.
Trait Implementations
impl<'a, 'e, T, D> Join for &'a CheckStorage<'e, T, D>
[src]
type Type = Entry<'a, 'e, T, D>
Type of joined components.
type Value = *const Storage<'e, T, D>
Type of joined storages.
type Mask = &'a BitSet
Type of joined bit mask.
fn open(self) -> (Self::Mask, Self::Value)
Open this join by returning the mask and the storages.
unsafe fn get(
storage: &mut *const Storage<'e, T, D>,
id: Index
) -> Entry<'a, 'e, T, D>
storage: &mut *const Storage<'e, T, D>,
id: Index
) -> Entry<'a, 'e, T, D>
Get a joined component value by a given index.
fn join(self) -> JoinIter<Self> where
Self: Sized,
Self: Sized,
Create a joined iterator over the contents.
impl<'a, 'e, T, D> Not for &'a CheckStorage<'e, T, D>
[src]
type Output = AntiStorage<'a>
The resulting type after applying the !
operator
fn not(self) -> Self::Output
The method for the unary !
operator