pub struct OnPlayerCursorStackChangedEvent {
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called after a player’s cursor stack changed in some way.
This is fired in the same tick that the change happens, but not instantly.
Fields§
§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerCursorStackChangedEvent
impl Clone for OnPlayerCursorStackChangedEvent
Source§fn clone(&self) -> OnPlayerCursorStackChangedEvent
fn clone(&self) -> OnPlayerCursorStackChangedEvent
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 OnPlayerCursorStackChangedEvent
Source§impl Default for OnPlayerCursorStackChangedEvent
impl Default for OnPlayerCursorStackChangedEvent
Source§fn default() -> OnPlayerCursorStackChangedEvent
fn default() -> OnPlayerCursorStackChangedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnPlayerCursorStackChangedEvent
Auto Trait Implementations§
impl Freeze for OnPlayerCursorStackChangedEvent
impl RefUnwindSafe for OnPlayerCursorStackChangedEvent
impl Send for OnPlayerCursorStackChangedEvent
impl Sync for OnPlayerCursorStackChangedEvent
impl Unpin for OnPlayerCursorStackChangedEvent
impl UnsafeUnpin for OnPlayerCursorStackChangedEvent
impl UnwindSafe for OnPlayerCursorStackChangedEvent
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