#[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,
}
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.