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 PxControllerworldPos: PxExtendedVec3worldNormal: PxVec3dir: PxVec3length: f32structgen_pad0: [u8; 4]userData: *const c_voidTrait 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