pub struct OnPlayerChangedPositionEvent {
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when the tile position a player is located at changes.
Fields§
§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerChangedPositionEvent
impl Clone for OnPlayerChangedPositionEvent
Source§fn clone(&self) -> OnPlayerChangedPositionEvent
fn clone(&self) -> OnPlayerChangedPositionEvent
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 OnPlayerChangedPositionEvent
Source§impl Debug for OnPlayerChangedPositionEvent
impl Debug for OnPlayerChangedPositionEvent
Source§impl Default for OnPlayerChangedPositionEvent
impl Default for OnPlayerChangedPositionEvent
Source§fn default() -> OnPlayerChangedPositionEvent
fn default() -> OnPlayerChangedPositionEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnPlayerChangedPositionEvent
Auto Trait Implementations§
impl Freeze for OnPlayerChangedPositionEvent
impl RefUnwindSafe for OnPlayerChangedPositionEvent
impl Send for OnPlayerChangedPositionEvent
impl Sync for OnPlayerChangedPositionEvent
impl Unpin for OnPlayerChangedPositionEvent
impl UnsafeUnpin for OnPlayerChangedPositionEvent
impl UnwindSafe for OnPlayerChangedPositionEvent
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