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