Struct PlayerBrewedPotionEvent
pub struct PlayerBrewedPotionEvent<'a> {
pub player: u128,
pub player_entity_id: i32,
pub stack: &'a ItemStack,
}Expand description
What Hooks::player_brewed_potion is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: u128§player_entity_id: i32§stack: &'a ItemStackAuto Trait Implementations§
impl<'a> Freeze for PlayerBrewedPotionEvent<'a>
impl<'a> RefUnwindSafe for PlayerBrewedPotionEvent<'a>
impl<'a> Send for PlayerBrewedPotionEvent<'a>
impl<'a> Sync for PlayerBrewedPotionEvent<'a>
impl<'a> Unpin for PlayerBrewedPotionEvent<'a>
impl<'a> UnsafeUnpin for PlayerBrewedPotionEvent<'a>
impl<'a> UnwindSafe for PlayerBrewedPotionEvent<'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