#[repr(i32)]pub enum ActorType {
RigidStatic = 0,
RigidDynamic = 1,
ArticulationLink = 2,
}
Expand description
Identifies each type of actor.
Variants§
RigidStatic = 0
A static rigid body
RigidDynamic = 1
A dynamic rigid body
ArticulationLink = 2
An articulation link
Trait Implementations§
source§impl Clone for PxActorType
impl Clone for PxActorType
source§fn clone(&self) -> PxActorType
fn clone(&self) -> PxActorType
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 PxActorType
impl Debug for PxActorType
source§impl PartialEq for PxActorType
impl PartialEq for PxActorType
source§fn eq(&self, other: &PxActorType) -> bool
fn eq(&self, other: &PxActorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxActorType
impl Eq for PxActorType
impl StructuralEq for PxActorType
impl StructuralPartialEq for PxActorType
Auto Trait Implementations§
impl RefUnwindSafe for PxActorType
impl Send for PxActorType
impl Sync for PxActorType
impl Unpin for PxActorType
impl UnwindSafe for PxActorType
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