Enum nphysics3d::object::BodyStatus [−][src]
pub enum BodyStatus { Disabled, Static, Dynamic, Kinematic, }
The status of a body.
Variants
Disabled
The body is disabled and ignored by the physics engine.
Static
The body is static and thus cannot move.
Dynamic
The body is dynamic and thus can move and is subject to forces.
Kinematic
The body is kinematic so its velocity is controlled by the user and it is not affected by forces and constraints.
Trait Implementations
impl Copy for BodyStatus
[src]
impl Copy for BodyStatus
impl Clone for BodyStatus
[src]
impl Clone for BodyStatus
fn clone(&self) -> BodyStatus
[src]
fn clone(&self) -> BodyStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for BodyStatus
[src]
impl PartialEq for BodyStatus
fn eq(&self, other: &BodyStatus) -> bool
[src]
fn eq(&self, other: &BodyStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for BodyStatus
[src]
impl Eq for BodyStatus
impl Hash for BodyStatus
[src]
impl Hash for BodyStatus
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for BodyStatus
[src]
impl Debug for BodyStatus
Auto Trait Implementations
impl Send for BodyStatus
impl Send for BodyStatus
impl Sync for BodyStatus
impl Sync for BodyStatus