#[repr(C)]pub struct JPH_SimShapeFilter_Procs {
pub ShouldCollide: Option<unsafe extern "C" fn(userData: *mut c_void, body1: *const JPH_Body, shape1: *const JPH_Shape, subShapeIDOfShape1: *const JPH_SubShapeID, body2: *const JPH_Body, shape2: *const JPH_Shape, subShapeIDOfShape2: *const JPH_SubShapeID) -> bool>,
}Fields§
§ShouldCollide: Option<unsafe extern "C" fn(userData: *mut c_void, body1: *const JPH_Body, shape1: *const JPH_Shape, subShapeIDOfShape1: *const JPH_SubShapeID, body2: *const JPH_Body, shape2: *const JPH_Shape, subShapeIDOfShape2: *const JPH_SubShapeID) -> bool>Trait Implementations§
Source§impl Clone for JPH_SimShapeFilter_Procs
impl Clone for JPH_SimShapeFilter_Procs
impl Copy for JPH_SimShapeFilter_Procs
Auto Trait Implementations§
impl Freeze for JPH_SimShapeFilter_Procs
impl RefUnwindSafe for JPH_SimShapeFilter_Procs
impl Send for JPH_SimShapeFilter_Procs
impl Sync for JPH_SimShapeFilter_Procs
impl Unpin for JPH_SimShapeFilter_Procs
impl UnsafeUnpin for JPH_SimShapeFilter_Procs
impl UnwindSafe for JPH_SimShapeFilter_Procs
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