mecs 0.1.1

An ecs library with a focus on iteration performance
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Utilities

// Traits
use std::hash::Hash;

// Traits
//--------------------------------------------------------------------------------------------------
	/// A key type for [`HashMap`]
	pub trait KeyType: PartialEq + Eq + Hash {}
//--------------------------------------------------------------------------------------------------

// Impl
//--------------------------------------------------------------------------------------------------
	impl<T> KeyType for T
	where
		T: ?Sized + PartialEq + Eq + Hash
	{}
//--------------------------------------------------------------------------------------------------