[][src]Struct legion::filter::ComponentFilter

pub struct ComponentFilter<T>(_);

A filter qhich requires that all chunks contain entity data components of type T.

Trait Implementations

impl<T> ActiveFilter for ComponentFilter<T>[src]

impl<'a, T> BitAnd<Passthrough> for ComponentFilter<T>[src]

type Output = ComponentFilter<T>

The resulting type after applying the & operator.

impl<'a, T, Rhs> BitAnd<Rhs> for ComponentFilter<T> where
    Rhs: ActiveFilter
[src]

type Output = And<(ComponentFilter<T>, Rhs)>

The resulting type after applying the & operator.

impl<'a, T> BitOr<Passthrough> for ComponentFilter<T>[src]

type Output = ComponentFilter<T>

The resulting type after applying the | operator.

impl<'a, T, Rhs> BitOr<Rhs> for ComponentFilter<T> where
    Rhs: ActiveFilter
[src]

type Output = Or<(ComponentFilter<T>, Rhs)>

The resulting type after applying the | operator.

impl<T> Clone for ComponentFilter<T>[src]

impl<T> Copy for ComponentFilter<T>[src]

impl<T> Debug for ComponentFilter<T> where
    T: Debug
[src]

impl<'a, T> Filter<ArchetypeFilterData<'a>> for ComponentFilter<T> where
    T: Component
[src]

type Iter = SliceVecIter<'a, ComponentTypeId>

impl<T> Not for ComponentFilter<T>[src]

type Output = Not<ComponentFilter<T>>

The resulting type after applying the ! operator.

Auto Trait Implementations

impl<T> RefUnwindSafe for ComponentFilter<T> where
    T: RefUnwindSafe

impl<T> Send for ComponentFilter<T> where
    T: Send

impl<T> Sync for ComponentFilter<T> where
    T: Sync

impl<T> Unpin for ComponentFilter<T> where
    T: Unpin

impl<T> UnwindSafe for ComponentFilter<T> where
    T: 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
[src]

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
[src]

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.