pub enum RecipeID {
RecipePrototype(LuaRecipePrototype),
Recipe(LuaRecipe),
Name(&'static str),
}Expand description
A recipe may be specified in one of three ways.
Variants§
Trait Implementations§
impl Copy for RecipeID
Source§impl From<LuaRecipePrototype> for RecipeID
impl From<LuaRecipePrototype> for RecipeID
Source§fn from(value: LuaRecipePrototype) -> Self
fn from(value: LuaRecipePrototype) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for RecipeID
Auto Trait Implementations§
impl Freeze for RecipeID
impl RefUnwindSafe for RecipeID
impl Send for RecipeID
impl Sync for RecipeID
impl Unpin for RecipeID
impl UnsafeUnpin for RecipeID
impl UnwindSafe for RecipeID
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more