Trait Component

Source
pub trait Component:
    Sized
    + Send
    + Sync
    + 'static { }
Available on crate feature ecs only.
Expand description

The trait implemented for all types that are used as components

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§