pub struct CapeThermoEquilibriumRoutine {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeThermoEquilibriumRoutine,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeThermoEquilibriumRoutineImplementations§
Source§impl CapeThermoEquilibriumRoutine
impl CapeThermoEquilibriumRoutine
pub fn calc_equilibrium<TypeOfSpecification1: CapeArrayStringProviderIn, TypeOfSpecification2: CapeArrayStringProviderIn, TypeOfSolutionType: CapeStringProviderIn>( &self, specification1: &TypeOfSpecification1, specification2: &TypeOfSpecification2, solution_type: &TypeOfSolutionType, ) -> Result<(), COBIAError>
pub fn check_equilibrium_spec<TypeOfSpecification1: CapeArrayStringProviderIn, TypeOfSpecification2: CapeArrayStringProviderIn, TypeOfSolutionType: CapeStringProviderIn>( &self, specification1: &TypeOfSpecification1, specification2: &TypeOfSpecification2, solution_type: &TypeOfSolutionType, ) -> Result<CapeBoolean, COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeThermoEquilibriumRoutine
impl CapeSmartPointer for CapeThermoEquilibriumRoutine
type Interface = _CAPEOPEN_1_2_ICapeThermoEquilibriumRoutine
Source§fn as_cape_interface_pointer(&self) -> *mut ICapeInterface
fn as_cape_interface_pointer(&self) -> *mut ICapeInterface
Get the ICapeInterface Read more
Source§fn get_interface_id() -> &'static CapeUUID
fn get_interface_id() -> &'static CapeUUID
Get the interface ID Read more
Source§fn from_object<T: CapeSmartPointer>(
smart_pointer: &T,
) -> Result<Self, COBIAError>
fn from_object<T: CapeSmartPointer>( smart_pointer: &T, ) -> Result<Self, COBIAError>
Get an interface wrapper instance from another object Read more
Source§fn from_interface_pointer(interface: *mut Self::Interface) -> Self
fn from_interface_pointer(interface: *mut Self::Interface) -> Self
Get an interface wrapper instance from an interface pointer of the wrapped type Read more
Source§fn attach(interface: *mut Self::Interface) -> Self
fn attach(interface: *mut Self::Interface) -> Self
Get an interface wrapper instance from an interface pointer of the wrapped type, without adding a reference Read more
Source§fn detach(self) -> *mut Self::Interface
fn detach(self) -> *mut Self::Interface
Return an interface pointer and release ownership, without decreasing a reference Read more
Source§fn from_cape_interface_pointer(
interface: *mut ICapeInterface,
) -> Result<Self, COBIAError>
fn from_cape_interface_pointer( interface: *mut ICapeInterface, ) -> Result<Self, COBIAError>
Get an interface wrapper instance from any interface pointer Read more
Source§impl Clone for CapeThermoEquilibriumRoutine
impl Clone for CapeThermoEquilibriumRoutine
Auto Trait Implementations§
impl Freeze for CapeThermoEquilibriumRoutine
impl RefUnwindSafe for CapeThermoEquilibriumRoutine
impl !Send for CapeThermoEquilibriumRoutine
impl !Sync for CapeThermoEquilibriumRoutine
impl Unpin for CapeThermoEquilibriumRoutine
impl UnwindSafe for CapeThermoEquilibriumRoutine
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