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