Type Definition nphysics3d::force_generator::DefaultForceGeneratorSet[][src]

pub type DefaultForceGeneratorSet<N: RealField + Copy, Handle: BodyHandle = DefaultBodyHandle> = Arena<Box<dyn ForceGenerator<N, Handle>>>;
Expand description

Default force generator set based on an arena with generational indices.

Trait Implementations

Type of a force generator stored in this set.

Type of a force generator handle identifying a force generator in this set.

Gets a reference to the force generator identified by handle.

Gets a mutable reference to the force generator identified by handle.

Check if this set contains a force generator identified by handle.

Iterate through all the force generators on this set, applying the closure f on them.

Mutable iterates through all the force generators on this set, applying the closure f on them.