pub enum RecipeCategoryID {
RecipeCategoryPrototype(LuaRecipeCategoryPrototype),
Name(&'static str),
}Expand description
A recipe category may be specified in one of two ways.
Variants§
RecipeCategoryPrototype(LuaRecipeCategoryPrototype)
Name(&'static str)
Trait Implementations§
Source§impl Clone for RecipeCategoryID
impl Clone for RecipeCategoryID
Source§fn clone(&self) -> RecipeCategoryID
fn clone(&self) -> RecipeCategoryID
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecipeCategoryID
Source§impl Debug for RecipeCategoryID
impl Debug for RecipeCategoryID
Source§impl Default for RecipeCategoryID
impl Default for RecipeCategoryID
Source§impl From<&'static str> for RecipeCategoryID
impl From<&'static str> for RecipeCategoryID
Source§impl From<LuaRecipeCategoryPrototype> for RecipeCategoryID
impl From<LuaRecipeCategoryPrototype> for RecipeCategoryID
Source§fn from(value: LuaRecipeCategoryPrototype) -> Self
fn from(value: LuaRecipeCategoryPrototype) -> Self
Converts to this type from the input type.
Source§impl From<RecipeCategoryID> for LuaAny
impl From<RecipeCategoryID> for LuaAny
Source§fn from(_: RecipeCategoryID) -> Self
fn from(_: RecipeCategoryID) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RecipeCategoryID
impl PartialEq for RecipeCategoryID
impl StructuralPartialEq for RecipeCategoryID
Auto Trait Implementations§
impl Freeze for RecipeCategoryID
impl RefUnwindSafe for RecipeCategoryID
impl Send for RecipeCategoryID
impl Sync for RecipeCategoryID
impl Unpin for RecipeCategoryID
impl UnsafeUnpin for RecipeCategoryID
impl UnwindSafe for RecipeCategoryID
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