#[repr(C)]pub struct b3ContactBeginTouchEvent {
pub shapeIdA: b3ShapeId,
pub shapeIdB: b3ShapeId,
pub contactId: b3ContactId,
}Expand description
A begin-touch event is generated when two shapes begin touching.
Fields§
§shapeIdA: b3ShapeIdId of the first shape
shapeIdB: b3ShapeIdId of the second shape
contactId: b3ContactIdThe transient contact id. This contact may be destroyed automatically when the world is modified or simulated. Use b3Contact_IsValid before using this id.
Trait Implementations§
Source§impl Clone for b3ContactBeginTouchEvent
impl Clone for b3ContactBeginTouchEvent
Source§fn clone(&self) -> b3ContactBeginTouchEvent
fn clone(&self) -> b3ContactBeginTouchEvent
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 b3ContactBeginTouchEvent
Auto Trait Implementations§
impl Freeze for b3ContactBeginTouchEvent
impl RefUnwindSafe for b3ContactBeginTouchEvent
impl Send for b3ContactBeginTouchEvent
impl Sync for b3ContactBeginTouchEvent
impl Unpin for b3ContactBeginTouchEvent
impl UnsafeUnpin for b3ContactBeginTouchEvent
impl UnwindSafe for b3ContactBeginTouchEvent
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