Trait particular::particle::IntoPointMass
source · pub trait IntoPointMass: Particle + Sized {
// Provided method
fn point_mass(
&self
) -> PointMass<ParticleVector<Self>, ParticleScalar<Self>>
where Self::Array: ScalarArray { ... }
}
Provided Methods§
sourcefn point_mass(&self) -> PointMass<ParticleVector<Self>, ParticleScalar<Self>>where
Self::Array: ScalarArray,
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.