Trait ICapeThermoEquilibriumRoutineImpl

Source
pub trait ICapeThermoEquilibriumRoutineImpl: ICapeThermoEquilibriumRoutine {
    type T: ICapeInterfaceImpl + ICapeThermoEquilibriumRoutineImpl;

    const VTABLE: CAPEOPEN_1_2_ICapeThermoEquilibriumRoutine_VTable = _;

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

    // Provided methods
    fn init_interface() -> ICapeInterface { ... }
    fn init<Timpl: ICapeThermoEquilibriumRoutineImpl + ICapeInterfaceImpl>(
        u: &mut Timpl,
    ) { ... }
    extern "C" fn raw_calc_equilibrium(
        me: *mut c_void,
        specification1: *mut ICapeArrayString,
        specification2: *mut ICapeArrayString,
        solution_type: *mut ICapeString,
    ) -> CapeResult { ... }
    extern "C" fn raw_check_equilibrium_spec(
        me: *mut c_void,
        specification1: *mut ICapeArrayString,
        specification2: *mut ICapeArrayString,
        solution_type: *mut ICapeString,
        is_supported: *mut CapeBoolean,
    ) -> CapeResult { ... }
}

Provided Associated Constants§

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn init_interface() -> ICapeInterface

prepare CAPEOPEN_1_2_ICapeThermoEquilibriumRoutine interface and return as generic ICapeInterface pointer

Source

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

Source

extern "C" fn raw_calc_equilibrium( me: *mut c_void, specification1: *mut ICapeArrayString, specification2: *mut ICapeArrayString, solution_type: *mut ICapeString, ) -> CapeResult

Source

extern "C" fn raw_check_equilibrium_spec( me: *mut c_void, specification1: *mut ICapeArrayString, specification2: *mut ICapeArrayString, solution_type: *mut ICapeString, is_supported: *mut CapeBoolean, ) -> 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§