Skip to main content

RuntimeComponent

Trait RuntimeComponent 

Source
pub trait RuntimeComponent: Into<ComponentAsset> { }
Expand description

A component a world can hold after the cook: every type an authored world declares that survives into a blob, plus every type only the runtime mints.

The bound on World::add_component. Exactly the registry’s stored group, which is also the group with a ComponentTag, a ComponentAsset variant, and a column. The groups partition the registry, so a type carrying this marker carries no other.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl RuntimeComponent for Animation

Source§

impl RuntimeComponent for AnimationGraph

Source§

impl RuntimeComponent for AnimationParams

Source§

impl RuntimeComponent for AppConfig

Source§

impl RuntimeComponent for AudioCue

Source§

impl RuntimeComponent for AudioEmitter

Source§

impl RuntimeComponent for AudioOcclusionProbe

Source§

impl RuntimeComponent for Behavior

Source§

impl RuntimeComponent for BlockType

Source§

impl RuntimeComponent for BodyDynamics

Source§

impl RuntimeComponent for Camera3D

Source§

impl RuntimeComponent for CameraProbe

Source§

impl RuntimeComponent for CharacterRig

Source§

impl RuntimeComponent for CharacterShape

Source§

impl RuntimeComponent for Children

Source§

impl RuntimeComponent for Collider

Source§

impl RuntimeComponent for DebugHud

Source§

impl RuntimeComponent for Decal

Source§

impl RuntimeComponent for DirectionalLight

Source§

impl RuntimeComponent for EngineDefaults

Source§

impl RuntimeComponent for File

Source§

impl RuntimeComponent for FpsCounter

Source§

impl RuntimeComponent for FrameInput

Source§

impl RuntimeComponent for GlassPanel

Source§

impl RuntimeComponent for GlobalTransform

Source§

impl RuntimeComponent for GraphicsConfig

Source§

impl RuntimeComponent for GroundProbes

Source§

impl RuntimeComponent for Held

Source§

impl RuntimeComponent for Hidden

Source§

impl RuntimeComponent for HitRegion

Source§

impl RuntimeComponent for InstancedProp

Source§

impl RuntimeComponent for Interactable

Source§

impl RuntimeComponent for KeyBinding

Source§

impl RuntimeComponent for LayoutContainer

Source§

impl RuntimeComponent for Lifetime

Source§

impl RuntimeComponent for LoadingOverlay

Source§

impl RuntimeComponent for MeshRenderer

Source§

impl RuntimeComponent for Model

Source§

impl RuntimeComponent for ModelRenderer

Source§

impl RuntimeComponent for Parent

Source§

impl RuntimeComponent for ParticleEmitter

Source§

impl RuntimeComponent for PhysicsConfig

Source§

impl RuntimeComponent for PhysicsJoint

Source§

impl RuntimeComponent for Pickup

Source§

impl RuntimeComponent for PointLight

Source§

impl RuntimeComponent for PostProcessConfig

Source§

impl RuntimeComponent for ProceduralMesh

Source§

impl RuntimeComponent for Prop

Source§

impl RuntimeComponent for PropBody

Source§

impl RuntimeComponent for PropInstance

Source§

impl RuntimeComponent for RectAreaLight

Source§

impl RuntimeComponent for ReflectionProbe

Source§

impl RuntimeComponent for RenderHandle

Source§

impl RuntimeComponent for RigidBody

Source§

impl RuntimeComponent for Room

Source§

impl RuntimeComponent for Scene

Source§

impl RuntimeComponent for SceneMember

Source§

impl RuntimeComponent for Screen

Source§

impl RuntimeComponent for ScrollPanel

Source§

impl RuntimeComponent for SdfVolume

Source§

impl RuntimeComponent for Shader

Source§

impl RuntimeComponent for SkeletonPose

Source§

impl RuntimeComponent for SkyRotation

Source§

impl RuntimeComponent for Spawner

Source§

impl RuntimeComponent for SpotLight

Source§

impl RuntimeComponent for Sprite

Source§

impl RuntimeComponent for StatHud

Source§

impl RuntimeComponent for Story

Source§

impl RuntimeComponent for StreamingConfig

Source§

impl RuntimeComponent for TextInput

Source§

impl RuntimeComponent for TextLabel

Source§

impl RuntimeComponent for Transform

Source§

impl RuntimeComponent for TriggerVolume

Source§

impl RuntimeComponent for Variables

Source§

impl RuntimeComponent for VolumetricFog

Source§

impl RuntimeComponent for VoxelChunk

Source§

impl RuntimeComponent for VoxelWorld

Source§

impl RuntimeComponent for WaterSurface

Source§

impl RuntimeComponent for Window