Skip to main content

galeon_engine/
component.rs

1// SPDX-License-Identifier: AGPL-3.0-only OR Commercial
2
3/// Marker trait for types that can be stored as ECS components.
4///
5/// Derive with `#[derive(Component)]` from `galeon_engine_macros`.
6pub trait Component: Send + Sync + 'static {}