pub struct Chainmail;Expand description
Handles chainmail armor recipe registration.
Trait Implementations§
Source§impl Recipe for Chainmail
impl Recipe for Chainmail
Source§fn shaped(&self) -> Vec<ShapedRecipe>
fn shaped(&self) -> Vec<ShapedRecipe>
Returns the shaped crafting recipes to be registered. Read more
Source§fn shapeless(&self) -> Vec<ShapelessRecipe>
fn shapeless(&self) -> Vec<ShapelessRecipe>
Returns the shapeless crafting recipes to be registered. Read more
Source§fn cooking(&self) -> Vec<CookingRecipe>
fn cooking(&self) -> Vec<CookingRecipe>
Returns the cooking recipes to be registered. Read more
Source§fn has_recipes(&self) -> bool
fn has_recipes(&self) -> bool
Returns
true if there is at least one recipe to register.Auto Trait Implementations§
impl Freeze for Chainmail
impl RefUnwindSafe for Chainmail
impl Send for Chainmail
impl Sync for Chainmail
impl Unpin for Chainmail
impl UnsafeUnpin for Chainmail
impl UnwindSafe for Chainmail
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