pub struct SensorBeginTouchEvent {
pub sensor_shape_id: ShapeId,
pub visitor_shape_id: ShapeId,
}Expand description
A begin touch event is generated when a shape starts to overlap a sensor shape. (b2SensorBeginTouchEvent)
Fields§
§sensor_shape_id: ShapeIdThe id of the sensor shape
visitor_shape_id: ShapeIdThe id of the shape that began touching the sensor shape
Trait Implementations§
Source§impl Clone for SensorBeginTouchEvent
impl Clone for SensorBeginTouchEvent
Source§fn clone(&self) -> SensorBeginTouchEvent
fn clone(&self) -> SensorBeginTouchEvent
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 SensorBeginTouchEvent
Source§impl Debug for SensorBeginTouchEvent
impl Debug for SensorBeginTouchEvent
impl Eq for SensorBeginTouchEvent
Source§impl PartialEq for SensorBeginTouchEvent
impl PartialEq for SensorBeginTouchEvent
impl StructuralPartialEq for SensorBeginTouchEvent
Auto Trait Implementations§
impl Freeze for SensorBeginTouchEvent
impl RefUnwindSafe for SensorBeginTouchEvent
impl Send for SensorBeginTouchEvent
impl Sync for SensorBeginTouchEvent
impl Unpin for SensorBeginTouchEvent
impl UnsafeUnpin for SensorBeginTouchEvent
impl UnwindSafe for SensorBeginTouchEvent
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