Skip to main content

IFrnNativeControlHostImpl

Trait IFrnNativeControlHostImpl 

Source
pub trait IFrnNativeControlHostImpl: IUnknownImpl {
    // Required methods
    fn create_default_child(
        &self,
        parent: *mut c_void,
    ) -> Result<*mut c_void, HResult>;
    fn create_attachment(
        &self,
    ) -> Option<ComPtr<IFrnNativeControlHostTopLevelAttachment>>;
    fn destroy_default_child(&self, child: *mut c_void);
}
Expand description

Implement this to provide IFrnNativeControlHost to native code (see IFrnNativeControlHost::from_impl).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: IFrnNativeControlHostImpl + ?Sized> IFrnNativeControlHostImpl for Box<T>

Source§

impl<T: IFrnNativeControlHostImpl + ?Sized> IFrnNativeControlHostImpl for Rc<T>

Implementors§