#[repr(C)]pub struct b2ContactEndTouchEvent {
pub shapeIdA: b2ShapeId,
pub shapeIdB: b2ShapeId,
pub contactId: b2ContactId,
}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: b2ShapeIdId of the first shape @warning this shape may have been destroyed @see b2Shape_IsValid
shapeIdB: b2ShapeIdId of the second shape @warning this shape may have been destroyed @see b2Shape_IsValid
contactId: b2ContactIdId of the contact. @warning this contact may have been destroyed @see b2Contact_IsValid
Trait Implementations§
Source§impl Clone for b2ContactEndTouchEvent
impl Clone for b2ContactEndTouchEvent
Source§fn clone(&self) -> b2ContactEndTouchEvent
fn clone(&self) -> b2ContactEndTouchEvent
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 b2ContactEndTouchEvent
impl Debug for b2ContactEndTouchEvent
impl Copy for b2ContactEndTouchEvent
Auto Trait Implementations§
impl Freeze for b2ContactEndTouchEvent
impl RefUnwindSafe for b2ContactEndTouchEvent
impl Send for b2ContactEndTouchEvent
impl Sync for b2ContactEndTouchEvent
impl Unpin for b2ContactEndTouchEvent
impl UnwindSafe for b2ContactEndTouchEvent
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)