pub struct SensorEndTouchEvent {
pub sensor_shape_id: ShapeId,
pub visitor_shape_id: ShapeId,
}Expand description
An end touch event is generated when a shape stops overlapping a sensor shape. Always confirm the shape id is valid before use — either shape may have been destroyed. (b2SensorEndTouchEvent)
Fields§
§sensor_shape_id: ShapeIdThe id of the sensor shape. @warning may have been destroyed
visitor_shape_id: ShapeIdThe id of the shape that stopped touching. @warning may have been destroyed
Trait Implementations§
Source§impl Clone for SensorEndTouchEvent
impl Clone for SensorEndTouchEvent
Source§fn clone(&self) -> SensorEndTouchEvent
fn clone(&self) -> SensorEndTouchEvent
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 SensorEndTouchEvent
Source§impl Debug for SensorEndTouchEvent
impl Debug for SensorEndTouchEvent
impl Eq for SensorEndTouchEvent
Source§impl PartialEq for SensorEndTouchEvent
impl PartialEq for SensorEndTouchEvent
impl StructuralPartialEq for SensorEndTouchEvent
Auto Trait Implementations§
impl Freeze for SensorEndTouchEvent
impl RefUnwindSafe for SensorEndTouchEvent
impl Send for SensorEndTouchEvent
impl Sync for SensorEndTouchEvent
impl Unpin for SensorEndTouchEvent
impl UnsafeUnpin for SensorEndTouchEvent
impl UnwindSafe for SensorEndTouchEvent
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