tomt_bevycss 0.7.1

Expansion and fixes based on bevy_ecss. Allows for using a slightly wider subset of CSS to interact with Bevy ECS. Now on Bevy 0.13!
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::CacheState;
use crate::selector::Selector;

use bevy::{
    prelude::{Deref, DerefMut},
    utils::HashMap,
};

/// Internal cache map. Used by [`crate::property::PropertyMeta`] to keep track of which properties was already parsed.
#[derive(Debug, Default, Deref, DerefMut)]
pub struct CachedProperties<T>(HashMap<Selector, CacheState<T>>);