brood 0.9.1

A fast and flexible entity component system library.
Documentation
use crate::{
    component::Component,
    query::{
        view,
        view::{
            claim,
            Claim,
        },
    },
    registry::Null,
};
use core::{
    fmt::Debug,
    hash::Hash,
};

pub trait Claims {
    type Claims: view::Claims + Clone + Debug + Eq + Hash + Send;
}

impl Claims for Null {
    type Claims = claim::Null;
}

impl<C, R> Claims for (C, R)
where
    C: Component,
    R: Claims,
{
    type Claims = (Claim, R::Claims);
}