RegistryExt

Trait RegistryExt 

Source
pub trait RegistryExt: Registry {
    // Required methods
    fn iter() -> Iter<Self> ;
    fn index<I: Index<Self>>() -> &'static I::Storage;
}
Expand description

Extension methods for registries.

Required Methods§

Source

fn iter() -> Iter<Self>

Iterates over the entries in a registry.

Source

fn index<I: Index<Self>>() -> &'static I::Storage

Accesses an index associated with a registry.

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§