pub struct ContactEndTouchEvent {
pub shape_id_a: ShapeId,
pub shape_id_b: ShapeId,
pub contact_id: ContactId,
}Expand description
An end touch event is generated when two shapes stop touching. (b2ContactEndTouchEvent)
Fields§
§shape_id_a: ShapeIdId of the first shape. @warning may have been destroyed
shape_id_b: ShapeIdId of the second shape. @warning may have been destroyed
contact_id: ContactIdId of the contact. @warning may have been destroyed
Trait Implementations§
Source§impl Clone for ContactEndTouchEvent
impl Clone for ContactEndTouchEvent
Source§fn clone(&self) -> ContactEndTouchEvent
fn clone(&self) -> ContactEndTouchEvent
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 ContactEndTouchEvent
Source§impl Debug for ContactEndTouchEvent
impl Debug for ContactEndTouchEvent
impl Eq for ContactEndTouchEvent
Source§impl PartialEq for ContactEndTouchEvent
impl PartialEq for ContactEndTouchEvent
impl StructuralPartialEq for ContactEndTouchEvent
Auto Trait Implementations§
impl Freeze for ContactEndTouchEvent
impl RefUnwindSafe for ContactEndTouchEvent
impl Send for ContactEndTouchEvent
impl Sync for ContactEndTouchEvent
impl Unpin for ContactEndTouchEvent
impl UnsafeUnpin for ContactEndTouchEvent
impl UnwindSafe for ContactEndTouchEvent
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