pub trait ICapeIdentificationImpl: ICapeIdentification {
type T: ICapeInterfaceImpl + ICapeIdentificationImpl;
const VTABLE: CAPEOPEN_1_2_ICapeIdentification_VTable = _;
// Required method
fn as_interface_pointer(&mut self) -> *mut ICapeInterface;
// Provided methods
fn init_interface() -> ICapeInterface { ... }
fn init<Timpl: ICapeIdentificationImpl + ICapeInterfaceImpl>(u: &mut Timpl) { ... }
extern "C" fn raw_get_component_name(
me: *mut c_void,
name: *mut ICapeString,
) -> CapeResult { ... }
extern "C" fn raw_set_component_name(
me: *mut c_void,
name: *mut ICapeString,
) -> CapeResult { ... }
extern "C" fn raw_get_component_description(
me: *mut c_void,
desc: *mut ICapeString,
) -> CapeResult { ... }
extern "C" fn raw_set_component_description(
me: *mut c_void,
desc: *mut ICapeString,
) -> 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_ICapeIdentification interface and return as generic ICapeInterface pointer
fn init<Timpl: ICapeIdentificationImpl + ICapeInterfaceImpl>(u: &mut Timpl)
extern "C" fn raw_get_component_name( me: *mut c_void, name: *mut ICapeString, ) -> CapeResult
extern "C" fn raw_set_component_name( me: *mut c_void, name: *mut ICapeString, ) -> CapeResult
extern "C" fn raw_get_component_description( me: *mut c_void, desc: *mut ICapeString, ) -> CapeResult
extern "C" fn raw_set_component_description( me: *mut c_void, desc: *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.