Struct IngredientTestEvent
pub struct IngredientTestEvent<'a> {
pub kind: &'a str,
pub data: &'a BTreeMap<JavaString, Tag>,
pub stack: &'a ItemStack,
pub accept: bool,
}Expand description
What Hooks::ingredient_test is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§kind: &'a str§data: &'a BTreeMap<JavaString, Tag>§stack: &'a ItemStack§accept: boolAuto Trait Implementations§
impl<'a> Freeze for IngredientTestEvent<'a>
impl<'a> RefUnwindSafe for IngredientTestEvent<'a>
impl<'a> Send for IngredientTestEvent<'a>
impl<'a> Sync for IngredientTestEvent<'a>
impl<'a> Unpin for IngredientTestEvent<'a>
impl<'a> UnsafeUnpin for IngredientTestEvent<'a>
impl<'a> UnwindSafe for IngredientTestEvent<'a>
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