#[repr(C)]pub struct b3ContactEndTouchEvent {
pub shapeIdA: b3ShapeId,
pub shapeIdB: b3ShapeId,
pub contactId: b3ContactId,
}Expand description
An end touch event is generated when two shapes stop touching. You will get an end event if you do anything that destroys contacts previous to the last world step. These include things like setting the transform, destroying a body or shape, or changing a filter or body type.
Fields§
§shapeIdA: b3ShapeIdId of the first shape @warning this shape may have been destroyed @see b3Shape_IsValid
shapeIdB: b3ShapeIdId of the first shape @warning this shape may have been destroyed @see b3Shape_IsValid
contactId: b3ContactIdId of the contact. @warning this contact may have been destroyed @see b3Contact_IsValid
Trait Implementations§
Source§impl Clone for b3ContactEndTouchEvent
impl Clone for b3ContactEndTouchEvent
Source§fn clone(&self) -> b3ContactEndTouchEvent
fn clone(&self) -> b3ContactEndTouchEvent
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 b3ContactEndTouchEvent
Auto Trait Implementations§
impl Freeze for b3ContactEndTouchEvent
impl RefUnwindSafe for b3ContactEndTouchEvent
impl Send for b3ContactEndTouchEvent
impl Sync for b3ContactEndTouchEvent
impl Unpin for b3ContactEndTouchEvent
impl UnsafeUnpin for b3ContactEndTouchEvent
impl UnwindSafe for b3ContactEndTouchEvent
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