Trait rin::ecs::OneToNComponent[][src]

pub trait OneToNComponent: 'static + Component where
    Self::Storage: for<'a> OneToNStorage<'a, Self>, 
{ pub fn slice_type_name() -> &'static str; }
[]

One to N Component trait.

Usually implemented using a derive attribute as in:

#[derive(OneToNComponent, Debug)]
struct Geometry{}

Allows to add a slice of this type as an entity’s component.

Required methods

pub fn slice_type_name() -> &'static str[src]

Implementors

impl OneToNComponent for ArmatureDualQuats[src]

impl OneToNComponent for ArmatureMatrices[src]

impl OneToNComponent for BoneBase[src]

impl OneToNComponent for MaterialMultiRef[src]

impl OneToNComponent for MaterialRef[src]

impl OneToNComponent for ShadowMaterialRef[src]

impl OneToNComponent for Submesh[src]

impl OneToNComponent for rin::scene::light::shadow::Map[src]

impl OneToNComponent for rin::scene::light::shadow::StaticMap[src]

impl OneToNComponent for DirectionalLightMatrices[src]

impl OneToNComponent for SpotLightMatrices[src]

impl OneToNComponent for rin::scene::renderer::components::RenderPlane[src]

impl OneToNComponent for GeomToGpuGeomRef[src]

impl OneToNComponent for SubmeshBuffers[src]

impl OneToNComponent for LightAsCameraUBO[src]

impl OneToNComponent for rin::scene::renderer::shadow::Map[src]

impl OneToNComponent for rin::scene::renderer::shadow::StaticMap[src]

impl OneToNComponent for rin::scene::transformation::RenderPlane[src]

impl OneToNComponent for BoneBase

impl OneToNComponent for ArmatureMatrices

impl OneToNComponent for ArmatureDualQuats

impl OneToNComponent for MaterialRef

impl OneToNComponent for MaterialMultiRef

impl OneToNComponent for ShadowMaterialRef

impl OneToNComponent for LightAsCameraUBO

impl OneToNComponent for RenderPlane

impl OneToNComponent for Map

impl OneToNComponent for StaticMap

impl OneToNComponent for GeomToGpuGeomRef

impl OneToNComponent for SubmeshBuffers

impl OneToNComponent for RenderPlane

impl OneToNComponent for Submesh

impl OneToNComponent for Map

impl OneToNComponent for StaticMap

impl OneToNComponent for DirectionalLightMatrices

impl OneToNComponent for SpotLightMatrices