pub struct CrossPair {
pub first: u32,
pub second: u32,
pub distance_squared: f32,
}Expand description
A neighbour relation with indices local to each input coordinate set.
Fields§
§first: u32Index in the first coordinate set.
second: u32Index in the second coordinate set.
distance_squared: f32Squared separation in ångström squared.
Trait Implementations§
impl Copy for CrossPair
impl StructuralPartialEq for CrossPair
Auto Trait Implementations§
impl Freeze for CrossPair
impl RefUnwindSafe for CrossPair
impl Send for CrossPair
impl Sync for CrossPair
impl Unpin for CrossPair
impl UnsafeUnpin for CrossPair
impl UnwindSafe for CrossPair
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