Struct specs::AntiStorage [] [src]

pub struct AntiStorage<'a>(_);

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

Trait Implementations

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

type Type = ()

Type of joined components.

type Value = ()

Type of joined storages.

type Mask = BitSetNot<&'a BitSet>

Type of joined bit mask.

fn open(self) -> (Self::Mask, ())

Open this join by returning the mask and the storages.

unsafe fn get(_: &mut (), _: Index)

Get a joined component value by a gien index.

fn iter(self) -> JoinIter<Self> where Self: Sized

Create a joined iterator over the contents.