Enum mgf::RigidBodyRef[][src]

pub enum RigidBodyRef {
    Dynamic(usize),
    Static {
        center: Point3<f32>,
        friction: f32,
    },
}

A reference to an element of a RigidBodyVec.

Variants

Fields of Static

Trait Implementations

impl Copy for RigidBodyRef
[src]

impl Clone for RigidBodyRef
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<usize> for RigidBodyRef
[src]

Performs the conversion.

impl Into<usize> for RigidBodyRef
[src]

Performs the conversion.

impl ConstrainedSet<RigidBodyRef, Velocity, RigidBodyInfo> for RigidBodyVec
[src]

Auto Trait Implementations