pub struct IFrnNativeControlHost { /* private fields */ }Implementations§
Source§impl IFrnNativeControlHost
impl IFrnNativeControlHost
Sourcepub fn from_impl<T: IFrnNativeControlHostImpl + 'static>(
value: T,
) -> ComPtr<IFrnNativeControlHost>
pub fn from_impl<T: IFrnNativeControlHostImpl + 'static>( value: T, ) -> ComPtr<IFrnNativeControlHost>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub unsafe fn create_default_child(
&self,
parent: *mut c_void,
) -> Result<*mut c_void, HResult>
pub unsafe fn create_default_child( &self, parent: *mut c_void, ) -> Result<*mut c_void, HResult>
IFrnNativeControlHost::CreateDefaultChild
§Safety
Raw pointer arguments must satisfy the native method’s contract.
Sourcepub fn create_attachment(
&self,
) -> Option<ComPtr<IFrnNativeControlHostTopLevelAttachment>>
pub fn create_attachment( &self, ) -> Option<ComPtr<IFrnNativeControlHostTopLevelAttachment>>
IFrnNativeControlHost::CreateAttachment
Sourcepub unsafe fn destroy_default_child(&self, child: *mut c_void)
pub unsafe fn destroy_default_child(&self, child: *mut c_void)
IFrnNativeControlHost::DestroyDefaultChild
§Safety
Raw pointer arguments must satisfy the native method’s contract.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnNativeControlHost
impl Deref for IFrnNativeControlHost
Source§impl<T: IFrnNativeControlHostImpl> ImplementedBy<T> for IFrnNativeControlHost
impl<T: IFrnNativeControlHostImpl> ImplementedBy<T> for IFrnNativeControlHost
const VTBL: &'static IFrnNativeControlHostVtbl
Source§impl Interface for IFrnNativeControlHost
impl Interface for IFrnNativeControlHost
type Vtbl = IFrnNativeControlHostVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnNativeControlHost
impl !Sync for IFrnNativeControlHost
impl Freeze for IFrnNativeControlHost
impl RefUnwindSafe for IFrnNativeControlHost
impl Unpin for IFrnNativeControlHost
impl UnsafeUnpin for IFrnNativeControlHost
impl UnwindSafe for IFrnNativeControlHost
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more