pub struct Pairs {
pub near: Vec<[u32; 2]>,
pub mid_near: Vec<[u32; 2]>,
pub further: Vec<[u32; 2]>,
}Expand description
Pre-allocated pair storage for all three pair types.
Fields§
§near: Vec<[u32; 2]>Near pairs: (point_i, near_neighbour_j) — shape [n * n_nb, 2]
mid_near: Vec<[u32; 2]>Mid-near pairs — shape [n * n_mn, 2]
further: Vec<[u32; 2]>Further pairs — shape [n * n_fp, 2]
Auto Trait Implementations§
impl Freeze for Pairs
impl RefUnwindSafe for Pairs
impl Send for Pairs
impl Sync for Pairs
impl Unpin for Pairs
impl UnsafeUnpin for Pairs
impl UnwindSafe for Pairs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more