Trait rinecs::component::NToOneComponent [−][src]
N to One components are just references to other entities.
That way several entities can have the same components in common.
#[derive(NToOneComponent, Debug)] struct ComponentRef(Entity);
Automatically implements NToOneComponent and can be used with ReadRef and Ref.
Implementors
impl<'c> NToOneComponent<'c> for SkeletonRef
impl<'c> NToOneComponent<'c> for SkeletonRef
impl<'c> NToOneComponent<'c> for GpuGeometryRef
impl<'c> NToOneComponent<'c> for GpuGeometryRef
impl<'c> NToOneComponent<'c> for GpuDebugGeometryRef
impl<'c> NToOneComponent<'c> for GpuDebugGeometryRef
impl<'c> NToOneComponent<'c> for GeometryRef
impl<'c> NToOneComponent<'c> for GeometryRef