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