pub trait DataRegistryWithKey: DataRegistry {
// Provided method
fn key<'s, 'a: 's>(
&'s self,
registries: &'a RegistryHolder,
) -> Option<<Self::Key as DataRegistryKey>::Borrow<'s>> { ... }
}Provided Methods§
fn key<'s, 'a: 's>( &'s self, registries: &'a RegistryHolder, ) -> Option<<Self::Key as DataRegistryKey>::Borrow<'s>>
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.