pub struct NeighbourPair {
pub atom: i32,
pub neighbour: i32,
}Expand description
One directed neighbour pair. The self entry is omitted.
let pair = seams::NeighbourPair { atom: 0, neighbour: 1 };
assert_eq!(pair.neighbour, 1);Fields§
§atom: i32Atom index in the frame.
neighbour: i32Neighbour index in the frame.
Trait Implementations§
Source§impl Clone for NeighbourPair
impl Clone for NeighbourPair
impl Copy for NeighbourPair
Source§impl Debug for NeighbourPair
impl Debug for NeighbourPair
impl Eq for NeighbourPair
Source§impl PartialEq for NeighbourPair
impl PartialEq for NeighbourPair
impl StructuralPartialEq for NeighbourPair
Auto Trait Implementations§
impl Freeze for NeighbourPair
impl RefUnwindSafe for NeighbourPair
impl Send for NeighbourPair
impl Sync for NeighbourPair
impl Unpin for NeighbourPair
impl UnsafeUnpin for NeighbourPair
impl UnwindSafe for NeighbourPair
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