Trait rin::ecs::component::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]

Loading content...

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]

Loading content...