DataRegistryWithKey

Trait DataRegistryWithKey 

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

Source

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.

Implementors§

Source§

impl<R: DataRegistry> DataRegistryWithKey for R