pub enum RecipeType {
All,
Recipe(ResourceLocation),
}Variants§
All
Recipe(ResourceLocation)
Trait Implementations§
Source§impl Clone for RecipeType
impl Clone for RecipeType
Source§fn clone(&self) -> RecipeType
fn clone(&self) -> RecipeType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecipeType
impl Debug for RecipeType
Source§impl Display for RecipeType
impl Display for RecipeType
Source§impl HasMacro for RecipeType
impl HasMacro for RecipeType
Source§impl Hash for RecipeType
impl Hash for RecipeType
Source§impl PartialEq for RecipeType
impl PartialEq for RecipeType
impl Eq for RecipeType
impl StructuralPartialEq for RecipeType
Auto Trait Implementations§
impl Freeze for RecipeType
impl RefUnwindSafe for RecipeType
impl Send for RecipeType
impl Sync for RecipeType
impl Unpin for RecipeType
impl UnwindSafe for RecipeType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more