Skip to main content

TagExampleInfo

Trait TagExampleInfo 

Source
pub trait TagExampleInfo {
    // Required methods
    fn name(&self) -> &str;
    fn exemplar_identifier(&self) -> Option<&str>;
}

Required Methods§

Source

fn name(&self) -> &str

Source

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".

Implementors§