#[repr(C)]pub struct SoftContactRecord {
pub normal: [f32; 3],
pub depth: f32,
pub point: [f32; 3],
pub friction: f32,
pub partner: u32,
pub group: u32,
pub kind: u32,
pub partner_inverse_mass: f32,
}Fields§
§normal: [f32; 3]§depth: f32§point: [f32; 3]§friction: f32§partner: u32§group: u32§kind: u32§partner_inverse_mass: f32Trait Implementations§
Source§impl Clone for SoftContactRecord
impl Clone for SoftContactRecord
Source§fn clone(&self) -> SoftContactRecord
fn clone(&self) -> SoftContactRecord
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 SoftContactRecord
Source§impl Debug for SoftContactRecord
impl Debug for SoftContactRecord
Source§impl PartialEq for SoftContactRecord
impl PartialEq for SoftContactRecord
impl Pod for SoftContactRecord
Source§impl StreamRecord for SoftContactRecord
impl StreamRecord for SoftContactRecord
impl StructuralPartialEq for SoftContactRecord
Auto Trait Implementations§
impl Freeze for SoftContactRecord
impl RefUnwindSafe for SoftContactRecord
impl Send for SoftContactRecord
impl Sync for SoftContactRecord
impl Unpin for SoftContactRecord
impl UnsafeUnpin for SoftContactRecord
impl UnwindSafe for SoftContactRecord
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.