ycraft/lib.rs
1//! Entry point for Y-Craft engine library
2
3use std::hash::Hash;
4
5pub mod res;
6pub mod obj;
7pub mod collision;
8pub mod room;
9pub mod app;
10pub mod util;
11
12/// Y-Craft generically uses hypothetical enums to index various things, and there are restrictions
13/// on these enums for the user
14pub trait IndexRestriction: Clone + Copy + Hash + Eq + 'static {}
15impl<T: Clone + Copy + Hash + Eq + 'static> IndexRestriction for T {}
16