pub(crate) trait ErasedRecipe:
Debug
+ Send
+ Sync {
// Required methods
fn key(&self) -> &Identifier;
fn recipe_type(&self) -> RecipeTypeEntryRef;
fn data(&self) -> &dyn RecipeData;
}Required Methods§
fn key(&self) -> &Identifier
fn recipe_type(&self) -> RecipeTypeEntryRef
fn data(&self) -> &dyn RecipeData
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".