pub trait TagExampleInfo {
// Required methods
fn name(&self) -> &str;
fn exemplar_identifier(&self) -> Option<&str>;
}Required Methods§
fn name(&self) -> &str
Sourcefn exemplar_identifier(&self) -> Option<&str>
fn exemplar_identifier(&self) -> Option<&str>
What item to show in the crafting hud if the player has nothing with the tag
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".