Trait ICapeUtilitiesImpl

Source
pub trait ICapeUtilitiesImpl: ICapeUtilities {
    type T: ICapeInterfaceImpl + ICapeUtilitiesImpl;

    const VTABLE: CAPEOPEN_1_2_ICapeUtilities_VTable = _;

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

    // Provided methods
    fn init_interface() -> ICapeInterface { ... }
    fn init<Timpl: ICapeUtilitiesImpl + ICapeInterfaceImpl>(u: &mut Timpl) { ... }
    extern "C" fn raw_get_parameters(
        me: *mut c_void,
        parameters: *mut *mut CAPEOPEN_1_2_ICapeCollection,
    ) -> CapeResult { ... }
    extern "C" fn raw_set_simulation_context(
        me: *mut c_void,
        context: *mut CAPEOPEN_1_2_ICapeSimulationContext,
    ) -> CapeResult { ... }
    extern "C" fn raw_initialize(me: *mut c_void) -> CapeResult { ... }
    extern "C" fn raw_terminate(me: *mut c_void) -> CapeResult { ... }
    extern "C" fn raw_edit(
        me: *mut c_void,
        parent: CapeWindowId,
        result: *mut CAPEOPEN_1_2_CapeEditResult,
    ) -> CapeResult { ... }
}

Provided Associated Constants§

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn init_interface() -> ICapeInterface

prepare CAPEOPEN_1_2_ICapeUtilities interface and return as generic ICapeInterface pointer

Source

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

Source

extern "C" fn raw_get_parameters( me: *mut c_void, parameters: *mut *mut CAPEOPEN_1_2_ICapeCollection, ) -> CapeResult

Source

extern "C" fn raw_set_simulation_context( me: *mut c_void, context: *mut CAPEOPEN_1_2_ICapeSimulationContext, ) -> CapeResult

Source

extern "C" fn raw_initialize(me: *mut c_void) -> CapeResult

Source

extern "C" fn raw_terminate(me: *mut c_void) -> CapeResult

Source

extern "C" fn raw_edit( me: *mut c_void, parent: CapeWindowId, result: *mut CAPEOPEN_1_2_CapeEditResult, ) -> 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§