pub trait RegisteredAtomSet: AtomSet + 'static {
// Required method
fn get_dyn_set() -> &'static DynAtomRegistry<Self>;
}Expand description
Trait for atom types that have a registered singleton DynAtomRegistry.
Required Methods§
Sourcefn get_dyn_set() -> &'static DynAtomRegistry<Self>
fn get_dyn_set() -> &'static DynAtomRegistry<Self>
Returns the singleton instance of the DynAtomRegistry for this atom type.
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.