brood 0.9.1

A fast and flexible entity component system library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod sealed;

use crate::query::view;
use sealed::Sealed;

/// Indicates that a registry is queryable by the filter `F` and the views `V`.
pub trait ContainsQuery<'a, Filter, Views, Indices>: Sealed<'a, Filter, Views, Indices>
where
    Views: view::Views<'a>,
{
}

impl<'a, Registry, Filter, Views, Indices> ContainsQuery<'a, Filter, Views, Indices> for Registry
where
    Registry: Sealed<'a, Filter, Views, Indices>,
    Views: view::Views<'a>,
{
}