[][src]Trait quill_prototype::Component

pub trait Component: Send + Sync + 'static { }

A type that can be associated with an entity as a component.

Components are a critical part of the ECS architecture; refer to [this guide] for mroe information.

This trait is automatically implemented for most types.

Persistence

Custom components are removed from entities when your plugin is unloaded. We will offer a component persistence API in the future.

Implementors

impl<T> Component for T where
    T: Send + Sync + 'static, 
[src]

Loading content...