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