Trait components_arena::ComponentId
source · [−]pub trait ComponentId: Debug + Copy + Eq + Ord + Hash + Send + Sync {
fn from_raw(raw: (usize, NonZeroUsize)) -> Self;
fn into_raw(self) -> (usize, NonZeroUsize);
}
Expand description
An implementer of the ComponentId
trait is a type behaves as
Id
.