pub struct Bond {
pub atom1: usize,
pub atom2: usize,
}Expand description
Structure representing a bond between atoms.
Fields§
§atom1: usizeGlobal index of the first atom involved in the bond.
Note the word is index, not number! Atom indices start from 0.
Indices correspond to indices of the atoms in the TprTopology::atoms vector.
atom2: usizeGlobal index of the second atom involved in the bond.
Trait Implementations§
impl Eq for Bond
impl StructuralPartialEq for Bond
Auto Trait Implementations§
impl Freeze for Bond
impl RefUnwindSafe for Bond
impl Send for Bond
impl Sync for Bond
impl Unpin for Bond
impl UnwindSafe for Bond
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