Skip to main content

SingletonEntity

Trait SingletonEntity 

Source
pub trait SingletonEntity: EntityValue + Sealed { }
Expand description

Marker for entities whose unit key proves one logical row.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<E> SingletonEntity for E
where E: EntityValue + Sealed,