[][src]Struct specs::storage::AntiStorage

pub struct AntiStorage<'a>(pub &'a BitSet);

An inverted storage type, only useful to iterate entities that do not have a particular component type.

Trait Implementations

impl<'a> ParJoin for AntiStorage<'a>[src]

fn par_join(self) -> JoinParIter<Self> where
    Self: Sized
[src]

Create a joined parallel iterator over the contents.

impl<'a> Join for AntiStorage<'a>[src]

type Mask = BitSetNot<&'a BitSet>

Type of joined bit mask.

type Type = ()

Type of joined components.

type Value = ()

Type of joined storages.

Important traits for JoinIter<J>
fn join(self) -> JoinIter<Self> where
    Self: Sized
[src]

Create a joined iterator over the contents.

fn maybe(self) -> MaybeJoin<Self> where
    Self: Sized
[src]

Returns a Join-able structure that yields all indices, returning None for all missing elements and Some(T) for found elements. Read more

fn is_unconstrained() -> bool[src]

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

impl<'a> DistinctStorage for AntiStorage<'a>[src]

Auto Trait Implementations

impl<'a> Send for AntiStorage<'a>

impl<'a> Unpin for AntiStorage<'a>

impl<'a> Sync for AntiStorage<'a>

impl<'a> UnwindSafe for AntiStorage<'a>

impl<'a> RefUnwindSafe for AntiStorage<'a>

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

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

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]