Enum nphysics2d::object::RigidBodyState [] [src]

pub enum RigidBodyState {
    Static,
    Dynamic,
}

The movement state of a rigid body.

Variants

The rigid body cannot move.

The rigid body can move.

Trait Implementations

impl Debug for RigidBodyState
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for RigidBodyState
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Clone for RigidBodyState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Encodable for RigidBodyState
[src]

[src]

Serialize a value using an Encoder.

impl Decodable for RigidBodyState
[src]

[src]

Deserialize a value using a Decoder.