Trait ICapeCustomDataSourceImpl

Source
pub trait ICapeCustomDataSourceImpl: ICapeCustomDataSource {
    type T: ICapeInterfaceImpl + ICapeCustomDataSourceImpl;

    const VTABLE: CAPEOPEN_1_2_ICapeCustomDataSource_VTable = _;

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

    // Provided methods
    fn init_interface() -> ICapeInterface { ... }
    fn init<Timpl: ICapeCustomDataSourceImpl + ICapeInterfaceImpl>(
        u: &mut Timpl,
    ) { ... }
    extern "C" fn raw_create_custom_data_container(
        me: *mut c_void,
        custom_data_container: *mut *mut ICapeInterface,
    ) -> CapeResult { ... }
    extern "C" fn raw_copy_custom_data(
        me: *mut c_void,
        source: *mut ICapeInterface,
        target: *mut ICapeInterface,
    ) -> CapeResult { ... }
    extern "C" fn raw_thermodynamic_configuration_changed(
        me: *mut c_void,
        container: *mut ICapeInterface,
    ) -> CapeResult { ... }
}

Provided Associated Constants§

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn init_interface() -> ICapeInterface

prepare CAPEOPEN_1_2_ICapeCustomDataSource interface and return as generic ICapeInterface pointer

Source

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

Source

extern "C" fn raw_create_custom_data_container( me: *mut c_void, custom_data_container: *mut *mut ICapeInterface, ) -> CapeResult

Source

extern "C" fn raw_copy_custom_data( me: *mut c_void, source: *mut ICapeInterface, target: *mut ICapeInterface, ) -> CapeResult

Source

extern "C" fn raw_thermodynamic_configuration_changed( me: *mut c_void, container: *mut ICapeInterface, ) -> 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§