[][src]Trait afeather::ArchetypeFilterFromComponentStorage

pub trait ArchetypeFilterFromComponentStorage {
    type Component;
    fn includes(component: &Self::Component, archetype: &Archetype) -> bool;
}

Associated Types

Loading content...

Required methods

fn includes(component: &Self::Component, archetype: &Archetype) -> bool

Loading content...

Implementors

impl<T: Component<Storage = PerArchetype<T>> + Eq> ArchetypeFilterFromComponentStorage for PerArchetype<T>[src]

type Component = T

impl<T: Component<Storage = PerEntity<T>>> ArchetypeFilterFromComponentStorage for PerEntity<T>[src]

type Component = T

impl<T: Component<Storage = Sparse<T>>> ArchetypeFilterFromComponentStorage for Sparse<T>[src]

type Component = T

Loading content...