Trait ICapeThermoPhasesImpl

Source
pub trait ICapeThermoPhasesImpl: ICapeThermoPhases {
    type T: ICapeInterfaceImpl + ICapeThermoPhasesImpl;

    const VTABLE: CAPEOPEN_1_2_ICapeThermoPhases_VTable = _;

    // Required method
    fn as_interface_pointer(&mut self) -> *mut ICapeInterface;

    // Provided methods
    fn init_interface() -> ICapeInterface { ... }
    fn init<Timpl: ICapeThermoPhasesImpl + ICapeInterfaceImpl>(u: &mut Timpl) { ... }
    extern "C" fn raw_get_num_phases(
        me: *mut c_void,
        num: *mut CapeInteger,
    ) -> CapeResult { ... }
    extern "C" fn raw_get_phase_info(
        me: *mut c_void,
        phase_label: *mut ICapeString,
        phase_attribute: *mut ICapeString,
        value: *mut ICapeValue,
    ) -> CapeResult { ... }
    extern "C" fn raw_get_phase_list(
        me: *mut c_void,
        phase_labels: *mut ICapeArrayString,
        state_of_aggregation: *mut ICapeArrayString,
        key_compound_id: *mut ICapeArrayString,
    ) -> CapeResult { ... }
}

Provided Associated Constants§

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn init_interface() -> ICapeInterface

prepare CAPEOPEN_1_2_ICapeThermoPhases interface and return as generic ICapeInterface pointer

Source

fn init<Timpl: ICapeThermoPhasesImpl + ICapeInterfaceImpl>(u: &mut Timpl)

Source

extern "C" fn raw_get_num_phases( me: *mut c_void, num: *mut CapeInteger, ) -> CapeResult

Source

extern "C" fn raw_get_phase_info( me: *mut c_void, phase_label: *mut ICapeString, phase_attribute: *mut ICapeString, value: *mut ICapeValue, ) -> CapeResult

Source

extern "C" fn raw_get_phase_list( me: *mut c_void, phase_labels: *mut ICapeArrayString, state_of_aggregation: *mut ICapeArrayString, key_compound_id: *mut ICapeArrayString, ) -> CapeResult

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§