pub struct EquilibriumCalculator { /* private fields */ }Expand description
Equilibrium calculator
Implementations§
Source§impl EquilibriumCalculator
impl EquilibriumCalculator
pub fn new() -> Self
Sourcepub fn equilibrium_constant(&self) -> &EquilibriumConstant
pub fn equilibrium_constant(&self) -> &EquilibriumConstant
Borrow the equilibrium constant.
Sourcepub fn equilibrium_constant_mut(&mut self) -> &mut EquilibriumConstant
pub fn equilibrium_constant_mut(&mut self) -> &mut EquilibriumConstant
Mutably borrow the equilibrium constant.
Sourcepub fn reaction_quotient(&self) -> &ReactionQuotient
pub fn reaction_quotient(&self) -> &ReactionQuotient
Borrow the reaction quotient.
Sourcepub fn reaction_quotient_mut(&mut self) -> &mut ReactionQuotient
pub fn reaction_quotient_mut(&mut self) -> &mut ReactionQuotient
Mutably borrow the reaction quotient.
Sourcepub fn gibbs_energy(&self) -> &GibbsEnergy
pub fn gibbs_energy(&self) -> &GibbsEnergy
Borrow the Gibbs energy.
Sourcepub fn gibbs_energy_mut(&mut self) -> &mut GibbsEnergy
pub fn gibbs_energy_mut(&mut self) -> &mut GibbsEnergy
Mutably borrow the Gibbs energy.
pub fn initialize(&mut self) -> Result<(), ChemistryError>
Auto Trait Implementations§
impl Freeze for EquilibriumCalculator
impl RefUnwindSafe for EquilibriumCalculator
impl Send for EquilibriumCalculator
impl Sync for EquilibriumCalculator
impl Unpin for EquilibriumCalculator
impl UnsafeUnpin for EquilibriumCalculator
impl UnwindSafe for EquilibriumCalculator
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