Crate flatbox_ecs

source ·

Modules§

  • This module provides traits for borrowing values and the relationship between references and owned values, as well as ref cells.
  • Implementations of ecs bundle
  • This module provides types and traits associated to accessing of borrowed values.
  • This module provides the error type and result type aliases for hecs-schedule.
  • A macro for declaring lazily evaluated statics.
  • ECS-queries
  • Convenience tools for serializing Worlds
  • Provides system which are an abstraction for anything that can be executed against a Context.
  • Defines common traits

Macros§

Structs§

Enums§

  • Errors that arise when accessing components
  • Exported error types. Some of these errors map the hecs errors but provide better context such as the entity.
  • Holds an L, or an R, or both
  • Errors that arise when querying a single entity

Traits§

  • A statically typed collection of components
  • Types that can be components, implemented automatically for all Send + Sync + 'static types
  • Trait for a set of component accesses
  • &T or &mut T where T is some component type
  • &T where T is some component type
  • Helper trait for borrowing either immutably or mutably from context
  • Dynamically accessed static collection of values
  • Implements deserialization of archetypes
  • A dynamically typed collection of components
  • A dynamically typed collection of cloneable components
  • Helper trait for types which do not implement clone, but has a clone wrapper
  • Streaming iterators over contiguous homogeneous ranges of components
  • Trait for allowing function to work on both World and SubWorld
  • Convert a type into the correspodning access.
  • Lifetime erasure in waiting of GAT
  • Convert a tuple or other type into Data.
  • A collection of component types to fetch from a World
  • Marker trait indicating whether a given Query will not produce unique references
  • Implements serialization of archetypes
  • Declare subset relations between tuples
  • Trait which defines any function or type that can operate on a world or other context.

Functions§

Type Aliases§

Derive Macros§