pub struct OnPrePlayerMinedItem;Expand description
Called when the player completes a mining action, but before the entity is potentially removed from the map. This is called even if the entity does not end up being removed.
Implementations§
Trait Implementations§
Source§impl Clone for OnPrePlayerMinedItem
impl Clone for OnPrePlayerMinedItem
Source§fn clone(&self) -> OnPrePlayerMinedItem
fn clone(&self) -> OnPrePlayerMinedItem
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 OnPrePlayerMinedItem
Source§impl Debug for OnPrePlayerMinedItem
impl Debug for OnPrePlayerMinedItem
impl Eq for OnPrePlayerMinedItem
Source§impl PartialEq for OnPrePlayerMinedItem
impl PartialEq for OnPrePlayerMinedItem
impl StructuralPartialEq for OnPrePlayerMinedItem
Auto Trait Implementations§
impl Freeze for OnPrePlayerMinedItem
impl RefUnwindSafe for OnPrePlayerMinedItem
impl Send for OnPrePlayerMinedItem
impl Sync for OnPrePlayerMinedItem
impl Unpin for OnPrePlayerMinedItem
impl UnsafeUnpin for OnPrePlayerMinedItem
impl UnwindSafe for OnPrePlayerMinedItem
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