pub trait ToEntityId:
'static
+ Sync
+ Send {
// Required method
fn to_entity_id(&self) -> EntityId;
}Required Methods§
fn to_entity_id(&self) -> EntityId
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".