#[repr(C)]pub struct ContactEventRecord {
pub kind: u32,
pub sensor: u32,
pub first_id: u32,
pub first_generation: u32,
pub second_id: u32,
pub second_generation: u32,
pub _wgsl_pad0: [u8; 8],
pub point: [f32; 3],
pub _pad0: f32,
pub normal: [f32; 3],
pub _pad1: f32,
}Fields§
§kind: u32§sensor: u32§first_id: u32§first_generation: u32§second_id: u32§second_generation: u32§_wgsl_pad0: [u8; 8]§point: [f32; 3]§_pad0: f32§normal: [f32; 3]§_pad1: f32Trait Implementations§
Source§impl Clone for ContactEventRecord
impl Clone for ContactEventRecord
Source§fn clone(&self) -> ContactEventRecord
fn clone(&self) -> ContactEventRecord
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 ContactEventRecord
Source§impl Debug for ContactEventRecord
impl Debug for ContactEventRecord
Source§impl PartialEq for ContactEventRecord
impl PartialEq for ContactEventRecord
impl Pod for ContactEventRecord
Source§impl StreamRecord for ContactEventRecord
impl StreamRecord for ContactEventRecord
impl StructuralPartialEq for ContactEventRecord
Auto Trait Implementations§
impl Freeze for ContactEventRecord
impl RefUnwindSafe for ContactEventRecord
impl Send for ContactEventRecord
impl Sync for ContactEventRecord
impl Unpin for ContactEventRecord
impl UnsafeUnpin for ContactEventRecord
impl UnwindSafe for ContactEventRecord
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.