Struct physx_sys::PxControllerObstacleHit
source · #[repr(C)]pub struct PxControllerObstacleHit {
pub controller: *mut PxController,
pub worldPos: PxExtendedVec3,
pub worldNormal: PxVec3,
pub dir: PxVec3,
pub length: f32,
pub structgen_pad0: [u8; 4],
pub userData: *const c_void,
}
Fields§
§controller: *mut PxController
§worldPos: PxExtendedVec3
§worldNormal: PxVec3
§dir: PxVec3
§length: f32
§structgen_pad0: [u8; 4]
§userData: *const c_void
Trait Implementations§
source§impl Clone for PxControllerObstacleHit
impl Clone for PxControllerObstacleHit
source§fn clone(&self) -> PxControllerObstacleHit
fn clone(&self) -> PxControllerObstacleHit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PxControllerObstacleHit
Auto Trait Implementations§
impl RefUnwindSafe for PxControllerObstacleHit
impl !Send for PxControllerObstacleHit
impl !Sync for PxControllerObstacleHit
impl Unpin for PxControllerObstacleHit
impl UnwindSafe for PxControllerObstacleHit
Blanket Implementations§
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