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