[]Struct acute_ecs::filter::EntityFilterTuple

pub struct EntityFilterTuple<A, S, C> {
    pub arch_filter: A,
    pub chunkset_filter: S,
    pub chunk_filter: C,
}

An EntityFilter which combined both an archetype filter and a chunk filter.

Fields

arch_filter: Achunkset_filter: Schunk_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>>, 

pub fn new(
    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>, 

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.

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>, 

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.

impl<A, S, C> Clone for EntityFilterTuple<A, S, C> where
    A: Clone,
    C: Clone,
    S: Clone

impl<A, S, C> Debug for EntityFilterTuple<A, S, C> where
    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

type ArchetypeFilter = A

type ChunksetFilter = S

type ChunkFilter = C

impl<A, S, C> Not for EntityFilterTuple<A, S, C> where
    A: Not,
    C: Not,
    S: Not

type Output = EntityFilterTuple<<A as Not>::Output, <S as Not>::Output, <C as Not>::Output>

The resulting type after applying the ! operator.

Auto Trait Implementations

impl<A, S, C> RefUnwindSafe for EntityFilterTuple<A, S, C> where
    A: RefUnwindSafe,
    C: RefUnwindSafe,
    S: RefUnwindSafe

impl<A, S, C> Send for EntityFilterTuple<A, S, C> where
    A: Send,
    C: Send,
    S: Send

impl<A, S, C> Sync for EntityFilterTuple<A, S, C> where
    A: Sync,
    C: Sync,
    S: Sync

impl<A, S, C> Unpin for EntityFilterTuple<A, S, C> where
    A: Unpin,
    C: Unpin,
    S: Unpin

impl<A, S, C> UnwindSafe for EntityFilterTuple<A, S, C> where
    A: UnwindSafe,
    C: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

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

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

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

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

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

impl<T> Resource for T where
    T: 'static + Send + Sync

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.