moecs 0.1.0

Micro ECS engine. A small and lightweight ECS engine for Rust projects.
Documentation
1
2
3
4
5
6
7
8
pub use moecs_macros::Component;

use crate::util::PropertyId;

/// A `Component` is simply a bundle of data tied to an `Entity`.
///
/// Note: All user-defined `Component`s must derive this trait via `#[derive(Component)]`.
pub trait Component: PropertyId + Send + Sync {}