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 Constants§
Required Associated Types§
type Update: UpdateTrait
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.