Struct physx::controller::PxBoxController [−][src]
#[repr(transparent)]pub struct PxBoxController<U> { /* fields omitted */ }
Trait Implementations
Get the half forward extent.
Get the half height.
Get the half side extent.
Set the half forward extent.
Set the half height.
Set the half side extent.
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
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
type UserData = U
type Descriptor = PxBoxControllerDesc<U>
Retrieve the user data from the controller.
Sets the controllers user data. If U is larger than a *mut _, it is heap allocated in a box. Otherwise, it is packed directly into the *mut c_void userData field. Read more
Set the position of teh controller
Get the position of the controller.
Auto Trait Implementations
impl<U> RefUnwindSafe for PxBoxController<U> where
U: RefUnwindSafe,
impl<U> Unpin for PxBoxController<U> where
U: Unpin,
impl<U> UnwindSafe for PxBoxController<U> where
U: UnwindSafe,