Trait live_entity::Singleton
source · pub trait Singleton: Updatable<Self::Update> + Debug + Clone + Serialize + DeserializeOwned + Unpin + Send + Sync + 'static {
type Update: UpdateTrait;
const ENTITY_ID: &'static str;
const TYPE_NAME: &'static str;
}Required Associated Types§
type Update: UpdateTrait
Required Associated Constants§
Object Safety§
This trait is not object safe.