Struct PotionBrewPostEvent
pub struct PotionBrewPostEvent<'a> {
pub pos: [i32; 3],
pub stacks: &'a mut [Option<ItemStack>; 5],
}Expand description
What Hooks::potion_brew_post is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§pos: [i32; 3]§stacks: &'a mut [Option<ItemStack>; 5]Auto Trait Implementations§
impl<'a> !UnwindSafe for PotionBrewPostEvent<'a>
impl<'a> Freeze for PotionBrewPostEvent<'a>
impl<'a> RefUnwindSafe for PotionBrewPostEvent<'a>
impl<'a> Send for PotionBrewPostEvent<'a>
impl<'a> Sync for PotionBrewPostEvent<'a>
impl<'a> Unpin for PotionBrewPostEvent<'a>
impl<'a> UnsafeUnpin for PotionBrewPostEvent<'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