macro_rules! register_repository_item {
($ty:ty, $name:literal) => { ... };
}Expand description
Register a type for use in a repository. The type must only be registered once in the crate where it’s defined. The provided name must be unique and not be changed.