Trait IComponentData_Impl
pub trait IComponentData_Impl: IUnknownImpl {
// Required methods
fn Initialize(&self, punknown: Ref<'_, IUnknown>) -> Result<()>;
fn CreateComponent(&self) -> Result<IComponent>;
fn Notify(
&self,
lpdataobject: Ref<'_, IDataObject>,
event: MMC_NOTIFY_TYPE,
arg: LPARAM,
param3: LPARAM,
) -> Result<()>;
fn Destroy(&self) -> Result<()>;
fn QueryDataObject(
&self,
cookie: isize,
type: DATA_OBJECT_TYPES,
) -> Result<IDataObject>;
fn GetDisplayInfo(&self, pscopedataitem: *mut SCOPEDATAITEM) -> Result<()>;
fn CompareObjects(
&self,
lpdataobjecta: Ref<'_, IDataObject>,
lpdataobjectb: Ref<'_, IDataObject>,
) -> Result<()>;
}
Required Methods§
fn Initialize(&self, punknown: Ref<'_, IUnknown>) -> Result<()>
fn CreateComponent(&self) -> Result<IComponent>
fn Notify( &self, lpdataobject: Ref<'_, IDataObject>, event: MMC_NOTIFY_TYPE, arg: LPARAM, param3: LPARAM, ) -> Result<()>
fn Destroy(&self) -> Result<()>
fn QueryDataObject( &self, cookie: isize, type: DATA_OBJECT_TYPES, ) -> Result<IDataObject>
fn GetDisplayInfo(&self, pscopedataitem: *mut SCOPEDATAITEM) -> Result<()>
fn CompareObjects( &self, lpdataobjecta: Ref<'_, IDataObject>, lpdataobjectb: Ref<'_, IDataObject>, ) -> Result<()>
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.