[−]Struct acute_ecs::filter::EntityFilterTuple
An EntityFilter which combined both an archetype filter and a chunk filter.
Fields
arch_filter: A
chunkset_filter: S
chunk_filter: C
Implementations
impl<A, S, C> EntityFilterTuple<A, S, C> where
A: for<'a> Filter<ArchetypeFilterData<'a>>,
C: for<'a> Filter<ChunkFilterData<'a>>,
S: for<'a> Filter<ChunksetFilterData<'a>>,
A: for<'a> Filter<ArchetypeFilterData<'a>>,
C: for<'a> Filter<ChunkFilterData<'a>>,
S: for<'a> Filter<ChunksetFilterData<'a>>,
pub fn new(
arch_filter: A,
chunkset_filter: S,
chunk_filter: C
) -> EntityFilterTuple<A, S, C>
arch_filter: A,
chunkset_filter: S,
chunk_filter: C
) -> EntityFilterTuple<A, S, C>
Creates a new entity filter.
Trait Implementations
impl<'a, A1, S1, C1, A2, S2, C2> BitAnd<EntityFilterTuple<A2, S2, C2>> for EntityFilterTuple<A1, S1, C1> where
A1: BitAnd<A2>,
C1: BitAnd<C2>,
S1: BitAnd<S2>,
A1: BitAnd<A2>,
C1: BitAnd<C2>,
S1: BitAnd<S2>,
type Output = EntityFilterTuple<<A1 as BitAnd<A2>>::Output, <S1 as BitAnd<S2>>::Output, <C1 as BitAnd<C2>>::Output>
The resulting type after applying the &
operator.
fn bitand(
self,
rhs: EntityFilterTuple<A2, S2, C2>
) -> <EntityFilterTuple<A1, S1, C1> as BitAnd<EntityFilterTuple<A2, S2, C2>>>::Output
self,
rhs: EntityFilterTuple<A2, S2, C2>
) -> <EntityFilterTuple<A1, S1, C1> as BitAnd<EntityFilterTuple<A2, S2, C2>>>::Output
impl<'a, A1, S1, C1, A2, S2, C2> BitOr<EntityFilterTuple<A2, S2, C2>> for EntityFilterTuple<A1, S1, C1> where
A1: BitOr<A2>,
C1: BitOr<C2>,
S1: BitOr<S2>,
A1: BitOr<A2>,
C1: BitOr<C2>,
S1: BitOr<S2>,
type Output = EntityFilterTuple<<A1 as BitOr<A2>>::Output, <S1 as BitOr<S2>>::Output, <C1 as BitOr<C2>>::Output>
The resulting type after applying the |
operator.
fn bitor(
self,
rhs: EntityFilterTuple<A2, S2, C2>
) -> <EntityFilterTuple<A1, S1, C1> as BitOr<EntityFilterTuple<A2, S2, C2>>>::Output
self,
rhs: EntityFilterTuple<A2, S2, C2>
) -> <EntityFilterTuple<A1, S1, C1> as BitOr<EntityFilterTuple<A2, S2, C2>>>::Output
impl<A, S, C> Clone for EntityFilterTuple<A, S, C> where
A: Clone,
C: Clone,
S: Clone,
A: Clone,
C: Clone,
S: Clone,
fn clone(&self) -> EntityFilterTuple<A, S, C>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A, S, C> Debug for EntityFilterTuple<A, S, C> where
A: Debug,
C: Debug,
S: Debug,
A: Debug,
C: Debug,
S: Debug,
impl<A, S, C> EntityFilter for EntityFilterTuple<A, S, C> where
A: for<'a> Filter<ArchetypeFilterData<'a>> + Clone,
C: for<'a> Filter<ChunkFilterData<'a>> + Clone,
S: for<'a> Filter<ChunksetFilterData<'a>> + Clone,
A: for<'a> Filter<ArchetypeFilterData<'a>> + Clone,
C: for<'a> Filter<ChunkFilterData<'a>> + Clone,
S: for<'a> Filter<ChunksetFilterData<'a>> + Clone,
type ArchetypeFilter = A
type ChunksetFilter = S
type ChunkFilter = C
fn init(&self)
fn filters(
&self
) -> (&<EntityFilterTuple<A, S, C> as EntityFilter>::ArchetypeFilter, &<EntityFilterTuple<A, S, C> as EntityFilter>::ChunksetFilter, &<EntityFilterTuple<A, S, C> as EntityFilter>::ChunkFilter)
&self
) -> (&<EntityFilterTuple<A, S, C> as EntityFilter>::ArchetypeFilter, &<EntityFilterTuple<A, S, C> as EntityFilter>::ChunksetFilter, &<EntityFilterTuple<A, S, C> as EntityFilter>::ChunkFilter)
fn into_filters(
self
) -> (<EntityFilterTuple<A, S, C> as EntityFilter>::ArchetypeFilter, <EntityFilterTuple<A, S, C> as EntityFilter>::ChunksetFilter, <EntityFilterTuple<A, S, C> as EntityFilter>::ChunkFilter)
self
) -> (<EntityFilterTuple<A, S, C> as EntityFilter>::ArchetypeFilter, <EntityFilterTuple<A, S, C> as EntityFilter>::ChunksetFilter, <EntityFilterTuple<A, S, C> as EntityFilter>::ChunkFilter)
fn iter_archetype_indexes(
&'a self,
storage: &'b Storage
) -> FilterArchIter<'b, 'a, A>ⓘNotable traits for FilterArchIter<'a, 'b, F>
impl<'a, 'b, F> Iterator for FilterArchIter<'a, 'b, F> where
F: Filter<ArchetypeFilterData<'a>>, type Item = ArchetypeIndex;
&'a self,
storage: &'b Storage
) -> FilterArchIter<'b, 'a, A>ⓘ
Notable traits for FilterArchIter<'a, 'b, F>
impl<'a, 'b, F> Iterator for FilterArchIter<'a, 'b, F> where
F: Filter<ArchetypeFilterData<'a>>, type Item = ArchetypeIndex;
fn iter_chunkset_indexes(
&'a self,
archetype: &'b ArchetypeData
) -> FilterChunkIter<'b, 'a, S>ⓘNotable traits for FilterChunkIter<'a, 'b, F>
impl<'a, 'b, F> Iterator for FilterChunkIter<'a, 'b, F> where
F: Filter<ChunksetFilterData<'a>>, type Item = SetIndex;
&'a self,
archetype: &'b ArchetypeData
) -> FilterChunkIter<'b, 'a, S>ⓘ
Notable traits for FilterChunkIter<'a, 'b, F>
impl<'a, 'b, F> Iterator for FilterChunkIter<'a, 'b, F> where
F: Filter<ChunksetFilterData<'a>>, type Item = SetIndex;
fn iter(&'a self, storage: &'b Storage) -> FilterEntityIter<'b, 'a, A, S>ⓘNotable traits for FilterEntityIter<'a, 'b, Arch, Chunk>
impl<'a, 'b, Arch, Chunk> Iterator for FilterEntityIter<'a, 'b, Arch, Chunk> where
Arch: Filter<ArchetypeFilterData<'a>>,
Chunk: Filter<ChunksetFilterData<'a>>, type Item = (ArchetypeId, ChunkIndex);
Notable traits for FilterEntityIter<'a, 'b, Arch, Chunk>
impl<'a, 'b, Arch, Chunk> Iterator for FilterEntityIter<'a, 'b, Arch, Chunk> where
Arch: Filter<ArchetypeFilterData<'a>>,
Chunk: Filter<ChunksetFilterData<'a>>, type Item = (ArchetypeId, ChunkIndex);
impl<A, S, C> Not for EntityFilterTuple<A, S, C> where
A: Not,
C: Not,
S: Not,
A: Not,
C: Not,
S: Not,
Auto Trait Implementations
impl<A, S, C> RefUnwindSafe for EntityFilterTuple<A, S, C> where
A: RefUnwindSafe,
C: RefUnwindSafe,
S: RefUnwindSafe,
A: RefUnwindSafe,
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<A, S, C> Send for EntityFilterTuple<A, S, C> where
A: Send,
C: Send,
S: Send,
A: Send,
C: Send,
S: Send,
impl<A, S, C> Sync for EntityFilterTuple<A, S, C> where
A: Sync,
C: Sync,
S: Sync,
A: Sync,
C: Sync,
S: Sync,
impl<A, S, C> Unpin for EntityFilterTuple<A, S, C> where
A: Unpin,
C: Unpin,
S: Unpin,
A: Unpin,
C: Unpin,
S: Unpin,
impl<A, S, C> UnwindSafe for EntityFilterTuple<A, S, C> where
A: UnwindSafe,
C: UnwindSafe,
S: UnwindSafe,
A: UnwindSafe,
C: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Resource for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,