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