pub struct CapeThermoCompounds {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeThermoCompounds,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeThermoCompoundsImplementations§
Source§impl CapeThermoCompounds
impl CapeThermoCompounds
pub fn get_compound_constant<TypeOfProps: CapeArrayStringProviderIn, TypeOfCompIds: CapeArrayStringProviderIn, TypeOfPropVals: CapeArrayValueProviderOut>( &self, props: &TypeOfProps, comp_ids: &TypeOfCompIds, contains_missing_values: &mut CapeBoolean, prop_vals: &mut TypeOfPropVals, ) -> Result<(), COBIAError>
pub fn get_compound_list<TypeOfCompIds: CapeArrayStringProviderOut, TypeOfFormulae: CapeArrayStringProviderOut, TypeOfNames: CapeArrayStringProviderOut, TypeOfBoilTemps: CapeArrayRealProviderOut, TypeOfMolwts: CapeArrayRealProviderOut, TypeOfCasnos: CapeArrayStringProviderOut>( &self, comp_ids: &mut TypeOfCompIds, formulae: &mut TypeOfFormulae, names: &mut TypeOfNames, boil_temps: &mut TypeOfBoilTemps, molwts: &mut TypeOfMolwts, casnos: &mut TypeOfCasnos, ) -> Result<(), COBIAError>
pub fn get_const_prop_list<TypeOfProps: CapeArrayStringProviderOut>( &self, props: &mut TypeOfProps, ) -> Result<(), COBIAError>
pub fn get_num_compounds(&self) -> Result<CapeInteger, COBIAError>
pub fn get_pdependent_property<TypeOfProps: CapeArrayStringProviderIn, TypeOfCompIds: CapeArrayStringProviderIn, TypeOfPropVals: CapeArrayRealProviderOut>( &self, props: &TypeOfProps, pressure: CapeReal, comp_ids: &TypeOfCompIds, contains_missing_values: &mut CapeBoolean, prop_vals: &mut TypeOfPropVals, ) -> Result<(), COBIAError>
pub fn get_pdependent_prop_list<TypeOfProps: CapeArrayStringProviderOut>( &self, props: &mut TypeOfProps, ) -> Result<(), COBIAError>
pub fn get_tdependent_property<TypeOfProps: CapeArrayStringProviderIn, TypeOfCompIds: CapeArrayStringProviderIn, TypeOfPropVals: CapeArrayRealProviderOut>( &self, props: &TypeOfProps, temperature: CapeReal, comp_ids: &TypeOfCompIds, contains_missing_values: &mut CapeBoolean, prop_vals: &mut TypeOfPropVals, ) -> Result<(), COBIAError>
pub fn get_tdependent_prop_list<TypeOfProps: CapeArrayStringProviderOut>( &self, props: &mut TypeOfProps, ) -> Result<(), COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeThermoCompounds
impl CapeSmartPointer for CapeThermoCompounds
type Interface = _CAPEOPEN_1_2_ICapeThermoCompounds
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 CapeThermoCompounds
impl Clone for CapeThermoCompounds
Auto Trait Implementations§
impl Freeze for CapeThermoCompounds
impl RefUnwindSafe for CapeThermoCompounds
impl !Send for CapeThermoCompounds
impl !Sync for CapeThermoCompounds
impl Unpin for CapeThermoCompounds
impl UnwindSafe for CapeThermoCompounds
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