Enum nphysics2d::object::ActivationState [] [src]

pub enum ActivationState<N: Real> {
    Active(N),
    Inactive,
    Deleted,
}

The activation state of a rigid body.

Variants

The rigid body is active with a not-zero energy.

The rigid body is inactive.

The rigid body has been removed from the physics engine.

Methods

impl<N: Real> ActivationState<N>
[src]

[src]

The energy accumulated other several frames.

Trait Implementations

impl<N: Debug + Real> Debug for ActivationState<N>
[src]

[src]

Formats the value using the given formatter.

impl<N: PartialEq + Real> PartialEq for ActivationState<N>
[src]

[src]

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

[src]

This method tests for !=.

impl<N: Clone + Real> Clone for ActivationState<N>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<N: Encodable + Real> Encodable for ActivationState<N>
[src]

[src]

Serialize a value using an Encoder.

impl<N: Decodable + Real> Decodable for ActivationState<N>
[src]

[src]

Deserialize a value using a Decoder.