#[repr(C)]pub struct b2SensorBeginTouchEvent {
pub sensorShapeId: b2ShapeId,
pub visitorShapeId: b2ShapeId,
}Expand description
A begin touch event is generated when a shape starts to overlap a sensor shape.
Fields§
§sensorShapeId: b2ShapeIdThe id of the sensor shape
visitorShapeId: b2ShapeIdThe id of the shape that began touching the sensor shape
Trait Implementations§
Source§impl Clone for b2SensorBeginTouchEvent
impl Clone for b2SensorBeginTouchEvent
Source§fn clone(&self) -> b2SensorBeginTouchEvent
fn clone(&self) -> b2SensorBeginTouchEvent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for b2SensorBeginTouchEvent
impl Debug for b2SensorBeginTouchEvent
impl Copy for b2SensorBeginTouchEvent
Auto Trait Implementations§
impl Freeze for b2SensorBeginTouchEvent
impl RefUnwindSafe for b2SensorBeginTouchEvent
impl Send for b2SensorBeginTouchEvent
impl Sync for b2SensorBeginTouchEvent
impl Unpin for b2SensorBeginTouchEvent
impl UnwindSafe for b2SensorBeginTouchEvent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)