Struct rin::ecs::operators::ReadNot [−][src]
pub struct ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>, { /* fields omitted */ }
Operator that matches every entity that has the first component and not the second
It’s equivalent to Read + Not but more convenient cause it doesn’t return an extra empty component
for pos in entities.iter_for::<ReadNot<Position, Velocity>>(){ //... }
Will select all entities that have Position but no Velocity
Trait Implementations
impl<'a, T, Not> ChangedData<'a> for ReadNot<'a, T, Not> where
Not: 'static,
T: ComponentSend,
<T as Component>::Storage: for<'s> Storage<'s, T>,
ReadGuardRef<'b, <T as Component>::Storage>: for<'b> IntoIter,
<T as Component>::Storage: ChangedStorageExt<'a>,
[src]
impl<'a, T, Not> ChangedData<'a> for ReadNot<'a, T, Not> where
Not: 'static,
T: ComponentSend,
<T as Component>::Storage: for<'s> Storage<'s, T>,
ReadGuardRef<'b, <T as Component>::Storage>: for<'b> IntoIter,
<T as Component>::Storage: ChangedStorageExt<'a>,
[src]type ChangedIter = ChangedIter<'a, ReadGuardRef<'a, <T as Component>::Storage>>
pub fn changed_iter<E>(
entities: &'a E
) -> <ReadNot<'a, T, Not> as ChangedData<'a>>::ChangedIter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadNot<'a, T, Not> as ChangedData<'a>>::ChangedIter where
E: EntitiesStorage,
impl<'a, T, Not> DataAccesses for ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]
impl<'a, T, Not> DataAccesses for ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]impl<'a, T, Not> Deref for ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<<T as Component>::Storage as Storage<'a, T>>::Get: Borrow<<<T as Component>::Storage as Storage<'a, T>>::DerefTarget>,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]
impl<'a, T, Not> Deref for ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<<T as Component>::Storage as Storage<'a, T>>::Get: Borrow<<<T as Component>::Storage as Storage<'a, T>>::DerefTarget>,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]impl<'a, T, Not> FromComponent<'a, <<T as Component>::Storage as Storage<'a, T>>::Get> for ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]
impl<'a, T, Not> FromComponent<'a, <<T as Component>::Storage as Storage<'a, T>>::Get> for ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]impl<'a, T, Not> UnorderedData<'a> for ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]
impl<'a, T, Not> UnorderedData<'a> for ReadNot<'a, T, Not> where
Not: 'static,
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]type Iter = Iter<'a, T, Not, ReadGuardRef<'a, <T as Component>::Storage>, LazyIndexGuard<'a>>
type IterMut = Iter<'a, T, Not, ReadGuardRef<'a, <T as Component>::Storage>, LazyIndexGuard<'a>>
type Components = T
type ComponentsRef = <<T as Component>::Storage as Storage<'a, T>>::Get
type Storage = StorageReadNot<'a, T, ReadGuardRef<'a, <T as Component>::Storage>, Not, LazyIndexGuard<'a>>
pub fn query_mask<E>(entities: &E) -> Bitmask where
E: EntitiesStorage,
[src]
E: EntitiesStorage,
pub fn into_iter<E>(
entities: &'a E
) -> <ReadNot<'a, T, Not> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadNot<'a, T, Not> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn into_iter_mut<E>(
entities: &'a E
) -> <ReadNot<'a, T, Not> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
[src]
entities: &'a E
) -> <ReadNot<'a, T, Not> as UnorderedData<'a>>::Iter where
E: EntitiesStorage,
pub fn storage<E>(
entities: &'a E
) -> Option<<ReadNot<'a, T, Not> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
[src]
entities: &'a E
) -> Option<<ReadNot<'a, T, Not> as UnorderedData<'a>>::Storage> where
E: EntitiesStorage,
impl<'_, '_, T, Not> SafeIter<'_> for ReadNot<'_, T, Not> where
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>,
[src]
T: Component,
<T as Component>::Storage: for<'s> Storage<'s, T>,
Auto Trait Implementations
impl<'a, T, Not> RefUnwindSafe for ReadNot<'a, T, Not> where
Not: RefUnwindSafe,
<<T as Component>::Storage as Storage<'a, T>>::Get: RefUnwindSafe,
Not: RefUnwindSafe,
<<T as Component>::Storage as Storage<'a, T>>::Get: RefUnwindSafe,
impl<'a, T, Not> Send for ReadNot<'a, T, Not> where
Not: Sync,
<<T as Component>::Storage as Storage<'a, T>>::Get: Send,
Not: Sync,
<<T as Component>::Storage as Storage<'a, T>>::Get: Send,
impl<'a, T, Not> Sync for ReadNot<'a, T, Not> where
Not: Sync,
<<T as Component>::Storage as Storage<'a, T>>::Get: Sync,
Not: Sync,
<<T as Component>::Storage as Storage<'a, T>>::Get: Sync,
impl<'a, T, Not> Unpin for ReadNot<'a, T, Not> where
<<T as Component>::Storage as Storage<'a, T>>::Get: Unpin,
<<T as Component>::Storage as Storage<'a, T>>::Get: Unpin,
impl<'a, T, Not> UnwindSafe for ReadNot<'a, T, Not> where
Not: RefUnwindSafe,
<<T as Component>::Storage as Storage<'a, T>>::Get: UnwindSafe,
Not: RefUnwindSafe,
<<T as Component>::Storage as Storage<'a, T>>::Get: UnwindSafe,
Blanket Implementations
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 3]; 3]> + 'static> for U where
T: AsUniform<[[f32; 3]; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 3]; 3]> + 'static> for U where
T: AsUniform<[[f32; 3]; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 4]; 4]> + 'static> for U where
T: AsUniform<[[f32; 4]; 4]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [[f32; 4]; 4]> + 'static> for U where
T: AsUniform<[[f32; 4]; 4]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 2]> + 'static> for U where
T: AsUniform<[f32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 2]> + 'static> for U where
T: AsUniform<[f32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 3]> + 'static> for U where
T: AsUniform<[f32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 3]> + 'static> for U where
T: AsUniform<[f32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [f32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 2]> + 'static> for U where
T: AsUniform<[i32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 2]> + 'static> for U where
T: AsUniform<[i32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 3]> + 'static> for U where
T: AsUniform<[i32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 3]> + 'static> for U where
T: AsUniform<[i32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [i32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 2]> + 'static> for U where
T: AsUniform<[u32; 2]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 2]> + 'static> for U where
T: AsUniform<[u32; 2]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 3]> + 'static> for U where
T: AsUniform<[u32; 3]>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 3]> + 'static> for U where
T: AsUniform<[u32; 3]>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = [u32; 4]> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 3]; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 3]; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 3]; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 3]; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 4]; 4]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 4]; 4]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[[f32; 4]; 4]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[[f32; 4]; 4]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[f32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[f32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[i32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[i32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 2]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 2]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 2]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 3]> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<[u32; 3]> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<[u32; 3]> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<f32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<f32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<f32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<f32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<i32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<i32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<i32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<i32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<u32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<u32> + 'static>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = dyn AsRef<u32> + 'static> + 'static> for U where
T: AsUniform<dyn AsRef<u32> + 'static>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = i32> + 'static> for U where
T: AsUniform<i32>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = i32> + 'static> for U where
T: AsUniform<i32>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<U, T> AsUniform<dyn Deref<Target = u32> + 'static> for U where
T: AsUniform<u32>,
U: Deref<Target = T>,
[src]
impl<U, T> AsUniform<dyn Deref<Target = u32> + 'static> for U where
T: AsUniform<u32>,
U: Deref<Target = T>,
[src]pub fn as_uniform(&self) -> UniformValue
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]