Struct physx::controller::PxCapsuleControllerDesc
source · [−]#[repr(transparent)]pub struct PxCapsuleControllerDesc<U> { /* private fields */ }
Expand description
A new type wrapper for physx_sys::PxCapsuleControllerDesc
, parametrized by the user data type.
Implementations
Trait Implementations
sourceimpl<T, U> Class<T> for PxCapsuleControllerDesc<U>where
PxCapsuleControllerDesc: Class<T>,
impl<T, U> Class<T> for PxCapsuleControllerDesc<U>where
PxCapsuleControllerDesc: Class<T>,
sourcefn as_ptr(&self) -> *const T
fn as_ptr(&self) -> *const T
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
sourcefn as_mut_ptr(&mut self) -> *mut T
fn as_mut_ptr(&mut self) -> *mut T
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer. Read more
Auto Trait Implementations
impl<U> RefUnwindSafe for PxCapsuleControllerDesc<U>where
U: RefUnwindSafe,
impl<U> !Send for PxCapsuleControllerDesc<U>
impl<U> !Sync for PxCapsuleControllerDesc<U>
impl<U> Unpin for PxCapsuleControllerDesc<U>where
U: Unpin,
impl<U> UnwindSafe for PxCapsuleControllerDesc<U>where
U: UnwindSafe,
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