#[repr(C)]
pub struct PxLocationHit { pub actor: *mut PxRigidActor, pub shape: *mut PxShape, pub faceIndex: u32, pub flags: PxHitFlags, pub structgen_pad0: [u8; 2], pub position: PxVec3, pub normal: PxVec3, pub distance: f32, pub structgen_pad1: [u8; 4], }

Fields

actor: *mut PxRigidActorshape: *mut PxShapefaceIndex: u32flags: PxHitFlagsstructgen_pad0: [u8; 2]position: PxVec3normal: PxVec3distance: f32structgen_pad1: [u8; 4]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.