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§
const VTABLE: CAPEOPEN_1_2_ICapeReport_VTable = _
Required Associated Types§
type T: ICapeInterfaceImpl + ICapeReportImpl
Required Methods§
fn as_interface_pointer(&mut self) -> *mut ICapeInterface
Provided Methods§
Sourcefn init_interface() -> ICapeInterface
fn init_interface() -> ICapeInterface
prepare CAPEOPEN_1_2_ICapeReport interface and return as generic ICapeInterface pointer
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
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.