Trait rusty_kernel_tools::particle_container::ParticleContainerAccessor [−][src]
pub trait ParticleContainerAccessor {
type FloatingPointType: RealType;
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>;
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>;
}Associated Types
Loading content...Required methods
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>[src]
Return a non-owning representation of the sources.
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>[src]
Return a non-owning representation of the targets.
Implementors
impl<'a, T: RealType> ParticleContainerAccessor for ParticleContainerView<'a, T>[src]
impl<'a, T: RealType> ParticleContainerAccessor for ParticleContainerView<'a, T>[src]type FloatingPointType = T
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>[src]
Return a non-owning representation of the sources.
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>[src]
Return a non-owning representation of the targets.
impl<T: RealType> ParticleContainerAccessor for ParticleContainer<T>[src]
impl<T: RealType> ParticleContainerAccessor for ParticleContainer<T>[src]type FloatingPointType = T
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>[src]
Return a non-owning representation of the sources.
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>[src]
Return a non-owning representation of the targets.