Enum nphysics2d::object::ActivationState
[−]
[src]
pub enum ActivationState<N: Real> { Active(N), Inactive, Deleted, }
The activation state of a rigid body.
Variants
Active(N)
The rigid body is active with a not-zero energy.
Inactive
The rigid body is inactive.
Deleted
The rigid body has been removed from the physics engine.
Methods
impl<N: Real> ActivationState<N>
[src]
Trait Implementations
impl<N: Debug + Real> Debug for ActivationState<N>
[src]
impl<N: PartialEq + Real> PartialEq for ActivationState<N>
[src]
fn eq(&self, __arg_0: &ActivationState<N>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ActivationState<N>) -> bool
[src]
This method tests for !=
.
impl<N: Clone + Real> Clone for ActivationState<N>
[src]
fn clone(&self) -> ActivationState<N>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N: Encodable + Real> Encodable for ActivationState<N>
[src]
fn encode<__SN: Encoder>(&self, __arg_0: &mut __SN) -> Result<(), __SN::Error>
[src]
Serialize a value using an Encoder
.