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§
fn as_interface_pointer(&mut self) -> *mut ICapeInterface
Provided Methods§
Sourcefn init_interface() -> ICapeInterface
fn init_interface() -> ICapeInterface
prepare CAPEOPEN_1_2_ICapeCustomDataSource interface and return as generic ICapeInterface pointer
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
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.