#[repr(C)]pub struct b2ContactData {
pub contactId: b2ContactId,
pub shapeIdA: b2ShapeId,
pub shapeIdB: b2ShapeId,
pub manifold: b2Manifold,
}Expand description
The contact data for two shapes. By convention the manifold normal points from shape A to shape B. @see b2Shape_GetContactData() and b2Body_GetContactData()
Fields§
§contactId: b2ContactId§shapeIdA: b2ShapeId§shapeIdB: b2ShapeId§manifold: b2ManifoldTrait Implementations§
Source§impl Clone for b2ContactData
impl Clone for b2ContactData
Source§fn clone(&self) -> b2ContactData
fn clone(&self) -> b2ContactData
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 b2ContactData
impl Debug for b2ContactData
impl Copy for b2ContactData
Auto Trait Implementations§
impl Freeze for b2ContactData
impl RefUnwindSafe for b2ContactData
impl Send for b2ContactData
impl Sync for b2ContactData
impl Unpin for b2ContactData
impl UnwindSafe for b2ContactData
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)