pub trait IdSource: Sealed {
type Slot<Id>;
}Expand description
Where the id of a newly created entity comes from. Sealed: FromRepo
and FromCaller are the only sources.
Required Associated Types§
Sourcetype Slot<Id>
type Slot<Id>
What the EntityEventsBuilder carries: the resolved id for
FromRepo, nothing for FromCaller.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".