pub struct OnPlayerCraftedItem;Expand description
Called when the player finishes crafting an item. This event fires just before the results are inserted into the player’s inventory, not when the crafting is queued (see on_pre_player_crafted_item).
Implementations§
Trait Implementations§
Source§impl Clone for OnPlayerCraftedItem
impl Clone for OnPlayerCraftedItem
Source§fn clone(&self) -> OnPlayerCraftedItem
fn clone(&self) -> OnPlayerCraftedItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnPlayerCraftedItem
Source§impl Debug for OnPlayerCraftedItem
impl Debug for OnPlayerCraftedItem
impl Eq for OnPlayerCraftedItem
Source§impl PartialEq for OnPlayerCraftedItem
impl PartialEq for OnPlayerCraftedItem
impl StructuralPartialEq for OnPlayerCraftedItem
Auto Trait Implementations§
impl Freeze for OnPlayerCraftedItem
impl RefUnwindSafe for OnPlayerCraftedItem
impl Send for OnPlayerCraftedItem
impl Sync for OnPlayerCraftedItem
impl Unpin for OnPlayerCraftedItem
impl UnsafeUnpin for OnPlayerCraftedItem
impl UnwindSafe for OnPlayerCraftedItem
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