Struct specs::storage::AntiStorage [−][src]
pub struct AntiStorage<'a>(pub &'a BitSet);
Expand description
An inverted storage type, only useful to iterate entities that do not have a particular component type.
Trait Implementations
Open this join by returning the mask and the storages. Read more
Create a joined iterator over the contents.
Returns a Join
-able structure that yields all indices, returning
None
for all missing elements and Some(T)
for found elements. Read more
If this Join
typically returns all indices in the mask, then iterating
over only it or combined with other joins that are also dangerous
will cause the JoinIter
/ParJoin
to go through all indices which
is usually not what is wanted and will kill performance. Read more
Create a joined parallel iterator over the contents.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AntiStorage<'a>
impl<'a> Send for AntiStorage<'a>
impl<'a> Sync for AntiStorage<'a>
impl<'a> Unpin for AntiStorage<'a>
impl<'a> UnwindSafe for AntiStorage<'a>