pub struct PairColumns {
pub i: Vec<i32>,
pub j: Vec<i32>,
pub shift: Vec<[i32; 3]>,
pub dist2: Vec<f64>,
}Expand description
Cutoff rows as columns: i[t], j[t], shift[t], dist2[t].
Fields§
§i: Vec<i32>Source index.
j: Vec<i32>Target index.
shift: Vec<[i32; 3]>Integer cell shift applied to the target (S).
dist2: Vec<f64>Squared distance after the shift.
Implementations§
Trait Implementations§
Source§impl Clone for PairColumns
impl Clone for PairColumns
Source§impl Debug for PairColumns
impl Debug for PairColumns
Source§impl Default for PairColumns
impl Default for PairColumns
Source§impl PartialEq for PairColumns
impl PartialEq for PairColumns
impl StructuralPartialEq for PairColumns
Auto Trait Implementations§
impl Freeze for PairColumns
impl RefUnwindSafe for PairColumns
impl Send for PairColumns
impl Sync for PairColumns
impl Unpin for PairColumns
impl UnsafeUnpin for PairColumns
impl UnwindSafe for PairColumns
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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