#[repr(transparent)]
pub struct PxBoxController<U> { /* private fields */ }

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
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.
Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.