#[repr(C)]pub struct ContactRecord {Show 17 fields
pub a: u32,
pub b: u32,
pub point_count: u32,
pub sensor: u32,
pub first_body_id: u32,
pub second_body_id: u32,
pub first_generation: u32,
pub second_generation: u32,
pub normal: [f32; 3],
pub events: u32,
pub surface: u32,
pub friction: f32,
pub restitution: f32,
pub rolling_friction: f32,
pub spin_friction: f32,
pub _wgsl_pad0: [u8; 12],
pub points: [ManifoldPointRecord; 4],
}Fields§
§a: u32§b: u32§point_count: u32§sensor: u32§first_body_id: u32§second_body_id: u32§first_generation: u32§second_generation: u32§normal: [f32; 3]§events: u32§surface: u32§friction: f32§restitution: f32§rolling_friction: f32§spin_friction: f32§_wgsl_pad0: [u8; 12]§points: [ManifoldPointRecord; 4]Trait Implementations§
Source§impl Clone for ContactRecord
impl Clone for ContactRecord
Source§fn clone(&self) -> ContactRecord
fn clone(&self) -> ContactRecord
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 ContactRecord
Source§impl Debug for ContactRecord
impl Debug for ContactRecord
Source§impl PartialEq for ContactRecord
impl PartialEq for ContactRecord
impl Pod for ContactRecord
Source§impl StreamRecord for ContactRecord
impl StreamRecord for ContactRecord
impl StructuralPartialEq for ContactRecord
Auto Trait Implementations§
impl Freeze for ContactRecord
impl RefUnwindSafe for ContactRecord
impl Send for ContactRecord
impl Sync for ContactRecord
impl Unpin for ContactRecord
impl UnsafeUnpin for ContactRecord
impl UnwindSafe for ContactRecord
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.