Trait ICapeReportImpl

Source
pub trait ICapeReportImpl: ICapeReport {
    type T: ICapeInterfaceImpl + ICapeReportImpl;

    const VTABLE: CAPEOPEN_1_2_ICapeReport_VTable = _;

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

    // Provided methods
    fn init_interface() -> ICapeInterface { ... }
    fn init<Timpl: ICapeReportImpl + ICapeInterfaceImpl>(u: &mut Timpl) { ... }
    extern "C" fn raw_get_report_names(
        me: *mut c_void,
        names: *mut ICapeArrayString,
    ) -> CapeResult { ... }
    extern "C" fn raw_report_types(
        me: *mut c_void,
        name: *mut ICapeString,
        types: *mut ICapeArrayString,
    ) -> CapeResult { ... }
    extern "C" fn raw_report_locales(
        me: *mut c_void,
        name: *mut ICapeString,
        _type: *mut ICapeString,
        locales: *mut ICapeArrayString,
    ) -> CapeResult { ... }
    extern "C" fn raw_check_report_spec(
        me: *mut c_void,
        name: *mut ICapeString,
        _type: *mut ICapeString,
        locale: *mut ICapeString,
        report_available: *mut CapeBoolean,
    ) -> CapeResult { ... }
    extern "C" fn raw_generate_report(
        me: *mut c_void,
        name: *mut ICapeString,
        _type: *mut ICapeString,
        locale: *mut ICapeString,
        report_content: *mut ICapeString,
    ) -> CapeResult { ... }
    extern "C" fn raw_generate_report_file(
        me: *mut c_void,
        name: *mut ICapeString,
        _type: *mut ICapeString,
        locale: *mut ICapeString,
        file_name: *mut ICapeString,
    ) -> CapeResult { ... }
}

Provided Associated Constants§

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn init_interface() -> ICapeInterface

prepare CAPEOPEN_1_2_ICapeReport interface and return as generic ICapeInterface pointer

Source

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

Source

extern "C" fn raw_get_report_names( me: *mut c_void, names: *mut ICapeArrayString, ) -> CapeResult

Source

extern "C" fn raw_report_types( me: *mut c_void, name: *mut ICapeString, types: *mut ICapeArrayString, ) -> CapeResult

Source

extern "C" fn raw_report_locales( me: *mut c_void, name: *mut ICapeString, _type: *mut ICapeString, locales: *mut ICapeArrayString, ) -> CapeResult

Source

extern "C" fn raw_check_report_spec( me: *mut c_void, name: *mut ICapeString, _type: *mut ICapeString, locale: *mut ICapeString, report_available: *mut CapeBoolean, ) -> CapeResult

Source

extern "C" fn raw_generate_report( me: *mut c_void, name: *mut ICapeString, _type: *mut ICapeString, locale: *mut ICapeString, report_content: *mut ICapeString, ) -> CapeResult

Source

extern "C" fn raw_generate_report_file( me: *mut c_void, name: *mut ICapeString, _type: *mut ICapeString, locale: *mut ICapeString, file_name: *mut ICapeString, ) -> 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§