pub struct CapeThermoPhases {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeThermoPhases,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeThermoPhasesImplementations§
Source§impl CapeThermoPhases
impl CapeThermoPhases
pub fn get_num_phases(&self) -> Result<CapeInteger, COBIAError>
pub fn get_phase_info<TypeOfPhaseLabel: CapeStringProviderIn, TypeOfPhaseAttribute: CapeStringProviderIn, TypeOfValue: CapeValueProviderOut>( &self, phase_label: &TypeOfPhaseLabel, phase_attribute: &TypeOfPhaseAttribute, value: &mut TypeOfValue, ) -> Result<(), COBIAError>
pub fn get_phase_list<TypeOfPhaseLabels: CapeArrayStringProviderOut, TypeOfStateOfAggregation: CapeArrayStringProviderOut, TypeOfKeyCompoundId: CapeArrayStringProviderOut>( &self, phase_labels: &mut TypeOfPhaseLabels, state_of_aggregation: &mut TypeOfStateOfAggregation, key_compound_id: &mut TypeOfKeyCompoundId, ) -> Result<(), COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeThermoPhases
impl CapeSmartPointer for CapeThermoPhases
type Interface = _CAPEOPEN_1_2_ICapeThermoPhases
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 CapeThermoPhases
impl Clone for CapeThermoPhases
Auto Trait Implementations§
impl Freeze for CapeThermoPhases
impl RefUnwindSafe for CapeThermoPhases
impl !Send for CapeThermoPhases
impl !Sync for CapeThermoPhases
impl Unpin for CapeThermoPhases
impl UnwindSafe for CapeThermoPhases
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