Trait components_arena_traits::ComponentId
source · pub trait ComponentId<const host: bool = true>: Debug + Copy + Eq + Ord + Hash + Send + Sync {
// Required methods
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
.