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