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 ArmatureDualQuats
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for ArmatureMatrices
[src]
impl OneToNComponent for ArmatureMatrices
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for BoneBase
[src]
impl OneToNComponent for BoneBase
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for MaterialMultiRef
[src]
impl OneToNComponent for MaterialMultiRef
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for MaterialRef
[src]
impl OneToNComponent for MaterialRef
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for ShadowMaterialRef
[src]
impl OneToNComponent for ShadowMaterialRef
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for Submesh
[src]
impl OneToNComponent for Submesh
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for rin::scene::light::shadow::Map
[src]
impl OneToNComponent for rin::scene::light::shadow::Map
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for rin::scene::light::shadow::StaticMap
[src]
impl OneToNComponent for rin::scene::light::shadow::StaticMap
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for DirectionalLightMatrices
[src]
impl OneToNComponent for DirectionalLightMatrices
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for SpotLightMatrices
[src]
impl OneToNComponent for SpotLightMatrices
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for rin::scene::renderer::components::RenderPlane
[src]
impl OneToNComponent for rin::scene::renderer::components::RenderPlane
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for GeomToGpuGeomRef
[src]
impl OneToNComponent for GeomToGpuGeomRef
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for SubmeshBuffers
[src]
impl OneToNComponent for SubmeshBuffers
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for LightAsCameraUBO
[src]
impl OneToNComponent for LightAsCameraUBO
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for rin::scene::renderer::shadow::Map
[src]
impl OneToNComponent for rin::scene::renderer::shadow::Map
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for rin::scene::renderer::shadow::StaticMap
[src]
impl OneToNComponent for rin::scene::renderer::shadow::StaticMap
[src]pub fn slice_type_name() -> &'static str
[src]
impl OneToNComponent for rin::scene::transformation::RenderPlane
[src]
impl OneToNComponent for rin::scene::transformation::RenderPlane
[src]