Trait ICapeThermoUniversalConstantImpl

Source
pub trait ICapeThermoUniversalConstantImpl: ICapeThermoUniversalConstant {
    type T: ICapeInterfaceImpl + ICapeThermoUniversalConstantImpl;

    const VTABLE: CAPEOPEN_1_2_ICapeThermoUniversalConstant_VTable = _;

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

    // Provided methods
    fn init_interface() -> ICapeInterface { ... }
    fn init<Timpl: ICapeThermoUniversalConstantImpl + ICapeInterfaceImpl>(
        u: &mut Timpl,
    ) { ... }
    extern "C" fn raw_get_universal_constant(
        me: *mut c_void,
        constant_id: *mut ICapeString,
        constant_value: *mut ICapeValue,
    ) -> CapeResult { ... }
    extern "C" fn raw_get_universal_constant_list(
        me: *mut c_void,
        constant_id_list: *mut ICapeArrayString,
    ) -> CapeResult { ... }
}

Provided Associated Constants§

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn init_interface() -> ICapeInterface

prepare CAPEOPEN_1_2_ICapeThermoUniversalConstant interface and return as generic ICapeInterface pointer

Source

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

Source

extern "C" fn raw_get_universal_constant( me: *mut c_void, constant_id: *mut ICapeString, constant_value: *mut ICapeValue, ) -> CapeResult

Source

extern "C" fn raw_get_universal_constant_list( me: *mut c_void, constant_id_list: *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§