pub trait IntoPointMass: Particle + Sized {
    // Provided method
    fn point_mass(
        &self
    ) -> PointMass<ParticleVector<Self>, ParticleScalar<Self>>
       where Self::Array: ScalarArray { ... }
}
Expand description

Trait to convert a type implementing Particle to a PointMass.

Provided Methods§

source

fn point_mass(&self) -> PointMass<ParticleVector<Self>, ParticleScalar<Self>>
where Self::Array: ScalarArray,

Converts the particle to a PointMass.

Object Safety§

This trait is not object safe.

Implementors§