pub struct OnPlayerDrivingChangedState;Expand description
Called when the player’s driving state has changed, meaning a player has either entered or left a vehicle.
This event is not raised when the player is ejected from a vehicle due to it being destroyed.
Implementations§
Trait Implementations§
Source§impl Clone for OnPlayerDrivingChangedState
impl Clone for OnPlayerDrivingChangedState
Source§fn clone(&self) -> OnPlayerDrivingChangedState
fn clone(&self) -> OnPlayerDrivingChangedState
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 OnPlayerDrivingChangedState
Source§impl Debug for OnPlayerDrivingChangedState
impl Debug for OnPlayerDrivingChangedState
impl Eq for OnPlayerDrivingChangedState
impl StructuralPartialEq for OnPlayerDrivingChangedState
Auto Trait Implementations§
impl Freeze for OnPlayerDrivingChangedState
impl RefUnwindSafe for OnPlayerDrivingChangedState
impl Send for OnPlayerDrivingChangedState
impl Sync for OnPlayerDrivingChangedState
impl Unpin for OnPlayerDrivingChangedState
impl UnsafeUnpin for OnPlayerDrivingChangedState
impl UnwindSafe for OnPlayerDrivingChangedState
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