Struct rinecs::operators::Not [−][src]
pub struct Not<'a, T: 'static> { /* fields omitted */ }
Operator that matches every entity that doesn’t have this component
The selected data will have a () element in it’s position.
for (pos, _) in entities.iter_for::<(Read<Position>, Not<Velocity>)>(){ //... }
Will select all entities that have Position but no Velocity
Trait Implementations
impl<'a, T: 'static> DataAccesses for Not<'a, T>
[src]
impl<'a, T: 'static> DataAccesses for Not<'a, T>
[src]impl<'a, T: 'static> FromComponent<'a, ()> for Not<'a, T>
[src]
impl<'a, T: 'static> FromComponent<'a, ()> for Not<'a, T>
[src]fn from_component(_: ()) -> Not<'a, T>
[src]
impl<'a, T: 'static> UnorderedData<'a> for Not<'a, T>
[src]
impl<'a, T: 'static> UnorderedData<'a> for Not<'a, T>
[src]type Iter = Repeat<()>
type IterMut = Repeat<()>
type Components = T
type ComponentsRef = ()
type Storage = StorageNot<'a, T>
fn query_mask<E: EntitiesStorage>(entities: &E) -> Bitmask
[src]
fn into_iter<E: EntitiesStorage>(_: &'a E) -> Self::Iter
[src]
fn into_iter_mut<E: EntitiesStorage>(entities: &'a E) -> Self::Iter
[src]
fn storage<E: EntitiesStorage>(entities: &'a E) -> Option<Self::Storage>
[src]
impl<T> SafeIter<'_> for Not<'_, T>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Not<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for Not<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Sync for Not<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for Not<'a, T>
impl<'a, T> UnwindSafe for Not<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,