pub struct OnSpacePlatformMinedItemEvent {
pub item_stack: ItemWithQualityCount,
pub name: &'static str,
pub platform: LuaSpacePlatform,
pub tick: u32,
}Expand description
Called when a platform mines an entity.
Fields§
§item_stack: ItemWithQualityCount§name: &'static str§platform: LuaSpacePlatform§tick: u32Trait Implementations§
Source§impl Clone for OnSpacePlatformMinedItemEvent
impl Clone for OnSpacePlatformMinedItemEvent
Source§fn clone(&self) -> OnSpacePlatformMinedItemEvent
fn clone(&self) -> OnSpacePlatformMinedItemEvent
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 OnSpacePlatformMinedItemEvent
Source§impl Default for OnSpacePlatformMinedItemEvent
impl Default for OnSpacePlatformMinedItemEvent
Source§fn default() -> OnSpacePlatformMinedItemEvent
fn default() -> OnSpacePlatformMinedItemEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnSpacePlatformMinedItemEvent
Auto Trait Implementations§
impl Freeze for OnSpacePlatformMinedItemEvent
impl RefUnwindSafe for OnSpacePlatformMinedItemEvent
impl Send for OnSpacePlatformMinedItemEvent
impl Sync for OnSpacePlatformMinedItemEvent
impl Unpin for OnSpacePlatformMinedItemEvent
impl UnsafeUnpin for OnSpacePlatformMinedItemEvent
impl UnwindSafe for OnSpacePlatformMinedItemEvent
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