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