pub struct CapeThermoPetroleumFractions {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeThermoPetroleumFractions,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeThermoPetroleumFractionsImplementations§
Source§impl CapeThermoPetroleumFractions
impl CapeThermoPetroleumFractions
pub fn set_petro_compound_prop<TypeOfPropertyId: CapeStringProviderIn, TypeOfBasis: CapeStringProviderIn, TypeOfValues: CapeArrayRealProviderIn>( &self, property_id: &TypeOfPropertyId, basis: &TypeOfBasis, values: &TypeOfValues, ) -> Result<(), COBIAError>
pub fn set_petro_bulk_prop<TypeOfPropertyId: CapeStringProviderIn, TypeOfBasis: CapeStringProviderIn>( &self, property_id: &TypeOfPropertyId, basis: &TypeOfBasis, value: CapeReal, ) -> Result<(), COBIAError>
pub fn get_petro_compound_prop<TypeOfPropertyId: CapeStringProviderIn, TypeOfBasis: CapeStringProviderIn, TypeOfValues: CapeArrayRealProviderOut>( &self, property_id: &TypeOfPropertyId, basis: &TypeOfBasis, values: &mut TypeOfValues, ) -> Result<(), COBIAError>
pub fn get_petro_bulk_prop<TypeOfPropertyId: CapeStringProviderIn, TypeOfBasis: CapeStringProviderIn>( &self, property_id: &TypeOfPropertyId, basis: &TypeOfBasis, ) -> Result<CapeReal, COBIAError>
pub fn petro_prop_list<TypeOfPropertyIds: CapeArrayStringProviderOut>( &self, property_ids: &mut TypeOfPropertyIds, ) -> Result<(), COBIAError>
pub fn get_petro_prop_attribute<TypeOfPropertyId: CapeStringProviderIn, TypeOfAttributeName: CapeStringProviderIn, TypeOfAttributeValue: CapeValueProviderOut>( &self, property_id: &TypeOfPropertyId, attribute_name: &TypeOfAttributeName, attribute_value: &mut TypeOfAttributeValue, ) -> Result<(), COBIAError>
pub fn copy_petro_properties( &self, source: &CapeThermoMaterial, ) -> Result<(), COBIAError>
pub fn update_petro_properties(&self) -> Result<(), COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeThermoPetroleumFractions
impl CapeSmartPointer for CapeThermoPetroleumFractions
type Interface = _CAPEOPEN_1_2_ICapeThermoPetroleumFractions
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 CapeThermoPetroleumFractions
impl Clone for CapeThermoPetroleumFractions
Auto Trait Implementations§
impl Freeze for CapeThermoPetroleumFractions
impl RefUnwindSafe for CapeThermoPetroleumFractions
impl !Send for CapeThermoPetroleumFractions
impl !Sync for CapeThermoPetroleumFractions
impl Unpin for CapeThermoPetroleumFractions
impl UnwindSafe for CapeThermoPetroleumFractions
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