pub struct ParticleContainer<T: RealType> { /* private fields */ }
Expand description
The basic data structure for sources and targets that are owned.
Trait Implementations§
Source§impl<T: RealType> ParticleContainerAccessor for ParticleContainer<T>
impl<T: RealType> ParticleContainerAccessor for ParticleContainer<T>
Source§fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>
fn sources(&self) -> ArrayView2<'_, Self::FloatingPointType>
Return a non-owning representation of the sources.
Source§fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>
fn targets(&self) -> ArrayView2<'_, Self::FloatingPointType>
Return a non-owning representation of the targets.
type FloatingPointType = T
Auto Trait Implementations§
impl<T> Freeze for ParticleContainer<T>
impl<T> RefUnwindSafe for ParticleContainer<T>where
T: RefUnwindSafe,
impl<T> Send for ParticleContainer<T>
impl<T> Sync for ParticleContainer<T>
impl<T> Unpin for ParticleContainer<T>
impl<T> UnwindSafe for ParticleContainer<T>where
T: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more