Skip to main content

DataMapEntry

Trait DataMapEntry 

pub trait DataMapEntry: Entry { }
Expand description

A registry entry a data map can attach a value to: ItemKey (minecraft:item) and BlockKey (minecraft:block). Sealed: the game holds maps for these registries only.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§