Enum physx_sys::PxControllerShapeType
source · #[repr(i32)]pub enum PxControllerShapeType {
Box = 0,
Capsule = 1,
ForceDword = 2_147_483_647,
}
Expand description
The type of controller, eg box, sphere or capsule.
Variants§
Box = 0
A box controller.
Capsule = 1
A capsule controller
ForceDword = 2_147_483_647
A capsule controller
Trait Implementations§
source§impl Clone for PxControllerShapeType
impl Clone for PxControllerShapeType
source§fn clone(&self) -> PxControllerShapeType
fn clone(&self) -> PxControllerShapeType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PxControllerShapeType
impl Debug for PxControllerShapeType
source§impl PartialEq for PxControllerShapeType
impl PartialEq for PxControllerShapeType
source§fn eq(&self, other: &PxControllerShapeType) -> bool
fn eq(&self, other: &PxControllerShapeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxControllerShapeType
impl Eq for PxControllerShapeType
impl StructuralEq for PxControllerShapeType
impl StructuralPartialEq for PxControllerShapeType
Auto Trait Implementations§
impl RefUnwindSafe for PxControllerShapeType
impl Send for PxControllerShapeType
impl Sync for PxControllerShapeType
impl Unpin for PxControllerShapeType
impl UnwindSafe for PxControllerShapeType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more