Struct physx::controller::PxBoxControllerDesc
source · [−]#[repr(transparent)]pub struct PxBoxControllerDesc<U> { /* private fields */ }
Expand description
A new type wrapper for physx_sys::PxBoxControllerDesc
, parametrized by the user data type.
Implementations
Trait Implementations
sourceimpl<T, U> Class<T> for PxBoxControllerDesc<U>where
PxBoxControllerDesc: Class<T>,
impl<T, U> Class<T> for PxBoxControllerDesc<U>where
PxBoxControllerDesc: 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 PxBoxControllerDesc<U>where
U: RefUnwindSafe,
impl<U> !Send for PxBoxControllerDesc<U>
impl<U> !Sync for PxBoxControllerDesc<U>
impl<U> Unpin for PxBoxControllerDesc<U>where
U: Unpin,
impl<U> UnwindSafe for PxBoxControllerDesc<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