Enum nphysics3d::object::BodyStatus[][src]

pub enum BodyStatus {
    Disabled,
    Static,
    Dynamic,
    Kinematic,
}

The status of a body.

Variants

The body is disabled and ignored by the physics engine.

The body is static and thus cannot move.

The body is dynamic and thus can move and is subject to forces.

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 Clone for BodyStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for BodyStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for BodyStatus
[src]

impl Hash for BodyStatus
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for BodyStatus
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for BodyStatus

impl Sync for BodyStatus