Struct CalculatePlayerTurnEvent
pub struct CalculatePlayerTurnEvent {
pub player_entity_id: i32,
pub player_uuid: u128,
pub mouse_sensitivity: f64,
pub cinematic_camera_enabled: bool,
}Expand description
What Hooks::calculate_player_turn is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player_entity_id: i32§player_uuid: u128§mouse_sensitivity: f64§cinematic_camera_enabled: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for CalculatePlayerTurnEvent
impl RefUnwindSafe for CalculatePlayerTurnEvent
impl Send for CalculatePlayerTurnEvent
impl Sync for CalculatePlayerTurnEvent
impl Unpin for CalculatePlayerTurnEvent
impl UnsafeUnpin for CalculatePlayerTurnEvent
impl UnwindSafe for CalculatePlayerTurnEvent
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