pub trait ParticleContainerAccessor {
type FloatingPointType: RealType;
// Required methods
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>;
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>;
}Required Associated Types§
Required Methods§
Sourcefn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>
Return a non-owning representation of the sources.
Sourcefn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>
Return a non-owning representation of the targets.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".