Struct physx_sys::SimulationEventCallbackInfo
source · #[repr(C)]pub struct SimulationEventCallbackInfo {
pub collision_callback: Option<CollisionCallback>,
pub collision_user_data: *mut c_void,
pub trigger_callback: Option<TriggerCallback>,
pub trigger_user_data: *mut c_void,
pub constraint_break_callback: Option<ConstraintBreakCallback>,
pub constraint_break_user_data: *mut c_void,
pub wake_sleep_callback: Option<WakeSleepCallback>,
pub wake_sleep_user_data: *mut c_void,
pub advance_callback: Option<AdvanceCallback>,
pub advance_user_data: *mut c_void,
}
Fields§
§collision_callback: Option<CollisionCallback>
§collision_user_data: *mut c_void
§trigger_callback: Option<TriggerCallback>
§trigger_user_data: *mut c_void
§constraint_break_callback: Option<ConstraintBreakCallback>
§constraint_break_user_data: *mut c_void
§wake_sleep_callback: Option<WakeSleepCallback>
§wake_sleep_user_data: *mut c_void
§advance_callback: Option<AdvanceCallback>
§advance_user_data: *mut c_void
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SimulationEventCallbackInfo
impl !Send for SimulationEventCallbackInfo
impl !Sync for SimulationEventCallbackInfo
impl Unpin for SimulationEventCallbackInfo
impl UnwindSafe for SimulationEventCallbackInfo
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