#[repr(C)]pub struct b3ContactEvents {
pub beginEvents: *mut b3ContactBeginTouchEvent,
pub endEvents: *mut b3ContactEndTouchEvent,
pub hitEvents: *mut b3ContactHitEvent,
pub beginCount: c_int,
pub endCount: c_int,
pub hitCount: c_int,
}Expand description
Contact events are buffered in the world and are available as event arrays after the time step is complete. Note: these may become invalid if bodies and/or shapes are destroyed
Fields§
§beginEvents: *mut b3ContactBeginTouchEventArray of begin touch events
endEvents: *mut b3ContactEndTouchEventArray of end touch events
hitEvents: *mut b3ContactHitEventArray of hit events
beginCount: c_intNumber of begin touch events
endCount: c_intNumber of end touch events
hitCount: c_intNumber of hit events
Trait Implementations§
Source§impl Clone for b3ContactEvents
impl Clone for b3ContactEvents
Source§fn clone(&self) -> b3ContactEvents
fn clone(&self) -> b3ContactEvents
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 b3ContactEvents
Auto Trait Implementations§
impl !Send for b3ContactEvents
impl !Sync for b3ContactEvents
impl Freeze for b3ContactEvents
impl RefUnwindSafe for b3ContactEvents
impl Unpin for b3ContactEvents
impl UnsafeUnpin for b3ContactEvents
impl UnwindSafe for b3ContactEvents
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