#[repr(C)]pub struct QueryHitRecord {
pub body_id: u32,
pub body_generation: u32,
pub distance: f32,
pub collider_index: u32,
pub point: [f32; 3],
pub triangle: u32,
pub normal: [f32; 3],
pub surface: u32,
}Fields§
§body_id: u32§body_generation: u32§distance: f32§collider_index: u32§point: [f32; 3]§triangle: u32§normal: [f32; 3]§surface: u32Trait Implementations§
Source§impl Clone for QueryHitRecord
impl Clone for QueryHitRecord
Source§fn clone(&self) -> QueryHitRecord
fn clone(&self) -> QueryHitRecord
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 QueryHitRecord
Source§impl Debug for QueryHitRecord
impl Debug for QueryHitRecord
Source§impl PartialEq for QueryHitRecord
impl PartialEq for QueryHitRecord
impl Pod for QueryHitRecord
Source§impl StreamRecord for QueryHitRecord
impl StreamRecord for QueryHitRecord
impl StructuralPartialEq for QueryHitRecord
Auto Trait Implementations§
impl Freeze for QueryHitRecord
impl RefUnwindSafe for QueryHitRecord
impl Send for QueryHitRecord
impl Sync for QueryHitRecord
impl Unpin for QueryHitRecord
impl UnsafeUnpin for QueryHitRecord
impl UnwindSafe for QueryHitRecord
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.