#[repr(C)]pub struct b3SensorEvents {
pub beginEvents: *mut b3SensorBeginTouchEvent,
pub endEvents: *mut b3SensorEndTouchEvent,
pub beginCount: c_int,
pub endCount: c_int,
}Expand description
Sensor events are buffered in the world and are available as begin/end overlap event arrays after the time step is complete. Note: these may become invalid if bodies and/or shapes are destroyed
Fields§
§beginEvents: *mut b3SensorBeginTouchEventArray of sensor begin touch events
endEvents: *mut b3SensorEndTouchEventArray of sensor end touch events
beginCount: c_intThe number of begin touch events
endCount: c_intThe number of end touch events
Trait Implementations§
Source§impl Clone for b3SensorEvents
impl Clone for b3SensorEvents
Source§fn clone(&self) -> b3SensorEvents
fn clone(&self) -> b3SensorEvents
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 b3SensorEvents
Auto Trait Implementations§
impl !Send for b3SensorEvents
impl !Sync for b3SensorEvents
impl Freeze for b3SensorEvents
impl RefUnwindSafe for b3SensorEvents
impl Unpin for b3SensorEvents
impl UnsafeUnpin for b3SensorEvents
impl UnwindSafe for b3SensorEvents
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