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
sourceimpl Clone for PxControllerObstacleHit
impl Clone for PxControllerObstacleHit
sourcefn clone(&self) -> PxControllerObstacleHit
fn clone(&self) -> PxControllerObstacleHit
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more