pub struct ContactBeginTouchEvent {
pub shape_id_a: ShapeId,
pub shape_id_b: ShapeId,
pub contact_id: ContactId,
}Expand description
A begin touch event is generated when two shapes begin touching. (b2ContactBeginTouchEvent)
Fields§
§shape_id_a: ShapeIdId of the first shape
shape_id_b: ShapeIdId of the second shape
contact_id: ContactIdThe transient contact id. May be destroyed automatically when the world is modified or simulated.
Trait Implementations§
Source§impl Clone for ContactBeginTouchEvent
impl Clone for ContactBeginTouchEvent
Source§fn clone(&self) -> ContactBeginTouchEvent
fn clone(&self) -> ContactBeginTouchEvent
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 ContactBeginTouchEvent
Source§impl Debug for ContactBeginTouchEvent
impl Debug for ContactBeginTouchEvent
impl Eq for ContactBeginTouchEvent
Source§impl PartialEq for ContactBeginTouchEvent
impl PartialEq for ContactBeginTouchEvent
impl StructuralPartialEq for ContactBeginTouchEvent
Auto Trait Implementations§
impl Freeze for ContactBeginTouchEvent
impl RefUnwindSafe for ContactBeginTouchEvent
impl Send for ContactBeginTouchEvent
impl Sync for ContactBeginTouchEvent
impl Unpin for ContactBeginTouchEvent
impl UnsafeUnpin for ContactBeginTouchEvent
impl UnwindSafe for ContactBeginTouchEvent
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