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§

Required Associated Constants§

source

const ENTITY_ID: &'static str

source

const TYPE_NAME: &'static str

Object Safety§

This trait is not object safe.

Implementors§