# [−]Enum lumol::DegreesOfFreedom

pub enum DegreesOfFreedom {
Particles,
Molecules,
Frozen(usize),
}

The number of degrees of freedom simulated in a given system

## Variants

Particles

All particles are explicitly simulated

Molecules

All molecules are simulated as rigid bodies

Frozen(usize)

All particles are explicitly simulated, but some degrees of freedom are frozen. The usize value is the number of frozen degree of freedom.

## Blanket Implementations

### impl<T> Pointable for T

#### type Init = T

The type for initializers.

### impl<T> ToOwned for T where    T: Clone, [src]

#### type Owned = T

The resulting type after obtaining ownership.

### impl<T, U> TryFrom<U> for T where    U: Into<T>, [src]

#### type Error = Infallible

The type returned in the event of a conversion error.

### impl<T, U> TryInto<U> for T where    U: TryFrom<T>, [src]

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.