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