Crate thallium_ecs

Source
Expand description

§thallium_ecs

Latest Version Rust Documentation GitHub license

The ECS for the thallium crate

Structs§

App
The main struct that you will create for holding entities, components, and resources
Commands
A SystemParameter that allows you to create/destroy Entitys, add/remove Components, etc
Entities
A SystemParameter for getting a list of all alive Entitys
Entity
A handle for components to be attached to
Query
A SystemParameter that lets you get references to Components specified in Q
Ref
The QueryParameter for getting a reference to a Component
RefMut
The QueryParameter for getting a mutable reference to a Component
Res
The SystemParameter for getting a reference to a Resource
ResMut
The SystemParameter for getting a mutable reference to a Resource
SystemSet
A set of Systems that can be run in parallel

Traits§

Component
The trait implemented for all types that are used as components
IntoSystem
Trait for converting things into a System
QueryParameter
The type parameter for a Query
Resource
The trait implemented for all types that will be used as resources
System
An ECS system that can be added to a SystemSet
SystemFunction
The trait for functions which can be used as Systems
SystemParameter
The trait for parameters to SystemFunctions