#[repr(C)]pub struct b2ContactBeginTouchEvent {
pub shapeIdA: b2ShapeId,
pub shapeIdB: b2ShapeId,
pub contactId: b2ContactId,
}Expand description
A begin touch event is generated when two shapes begin touching.
Fields§
§shapeIdA: b2ShapeIdId of the first shape
shapeIdB: b2ShapeIdId of the second shape
contactId: b2ContactIdThe transient contact id. This contact maybe destroyed automatically when the world is modified or simulated. Used b2Contact_IsValid before using this id.
Trait Implementations§
Source§impl Clone for b2ContactBeginTouchEvent
impl Clone for b2ContactBeginTouchEvent
Source§fn clone(&self) -> b2ContactBeginTouchEvent
fn clone(&self) -> b2ContactBeginTouchEvent
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 b2ContactBeginTouchEvent
impl Debug for b2ContactBeginTouchEvent
impl Copy for b2ContactBeginTouchEvent
Auto Trait Implementations§
impl Freeze for b2ContactBeginTouchEvent
impl RefUnwindSafe for b2ContactBeginTouchEvent
impl Send for b2ContactBeginTouchEvent
impl Sync for b2ContactBeginTouchEvent
impl Unpin for b2ContactBeginTouchEvent
impl UnwindSafe for b2ContactBeginTouchEvent
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)