Skip to main content

IdSource

Trait IdSource 

Source
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§

Source

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".

Implementors§