pub struct BondedInteractions { /* private fields */ }Expand description
Bonded interactions
Implementations§
Source§impl BondedInteractions
impl BondedInteractions
pub fn new() -> Self
Sourcepub fn bond_calculator(&self) -> &BondCalculator
pub fn bond_calculator(&self) -> &BondCalculator
Borrow the bond-stretch calculator.
Sourcepub fn bond_calculator_mut(&mut self) -> &mut BondCalculator
pub fn bond_calculator_mut(&mut self) -> &mut BondCalculator
Mutably borrow the bond-stretch calculator.
Sourcepub fn angle_calculator(&self) -> &AngleCalculator
pub fn angle_calculator(&self) -> &AngleCalculator
Borrow the angle-bend calculator.
Sourcepub fn angle_calculator_mut(&mut self) -> &mut AngleCalculator
pub fn angle_calculator_mut(&mut self) -> &mut AngleCalculator
Mutably borrow the angle-bend calculator.
Sourcepub fn torsion_calculator(&self) -> &TorsionCalculator
pub fn torsion_calculator(&self) -> &TorsionCalculator
Borrow the torsion calculator.
Sourcepub fn torsion_calculator_mut(&mut self) -> &mut TorsionCalculator
pub fn torsion_calculator_mut(&mut self) -> &mut TorsionCalculator
Mutably borrow the torsion calculator.
Sourcepub fn improper_calculator(&self) -> &ImproperCalculator
pub fn improper_calculator(&self) -> &ImproperCalculator
Borrow the improper-torsion calculator.
Sourcepub fn improper_calculator_mut(&mut self) -> &mut ImproperCalculator
pub fn improper_calculator_mut(&mut self) -> &mut ImproperCalculator
Mutably borrow the improper-torsion calculator.
Auto Trait Implementations§
impl Freeze for BondedInteractions
impl RefUnwindSafe for BondedInteractions
impl Send for BondedInteractions
impl Sync for BondedInteractions
impl Unpin for BondedInteractions
impl UnsafeUnpin for BondedInteractions
impl UnwindSafe for BondedInteractions
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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