pub struct IFrnNativeControlHostTopLevelAttachment { /* private fields */ }Implementations§
Source§impl IFrnNativeControlHostTopLevelAttachment
impl IFrnNativeControlHostTopLevelAttachment
Sourcepub fn from_impl<T: IFrnNativeControlHostTopLevelAttachmentImpl + 'static>(
value: T,
) -> ComPtr<IFrnNativeControlHostTopLevelAttachment>
pub fn from_impl<T: IFrnNativeControlHostTopLevelAttachmentImpl + 'static>( value: T, ) -> ComPtr<IFrnNativeControlHostTopLevelAttachment>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn get_parent_handle(&self) -> *mut c_void
pub fn get_parent_handle(&self) -> *mut c_void
IFrnNativeControlHostTopLevelAttachment::GetParentHandle
Sourcepub unsafe fn initialize_with_child_handle(
&self,
child: *mut c_void,
) -> Result<(), HResult>
pub unsafe fn initialize_with_child_handle( &self, child: *mut c_void, ) -> Result<(), HResult>
IFrnNativeControlHostTopLevelAttachment::InitializeWithChildHandle
§Safety
Raw pointer arguments must satisfy the native method’s contract.
Sourcepub fn attach_to(
&self,
host: Option<&IFrnNativeControlHost>,
) -> Result<(), HResult>
pub fn attach_to( &self, host: Option<&IFrnNativeControlHost>, ) -> Result<(), HResult>
IFrnNativeControlHostTopLevelAttachment::AttachTo
Sourcepub fn show_in_bounds(&self, x: f32, y: f32, width: f32, height: f32)
pub fn show_in_bounds(&self, x: f32, y: f32, width: f32, height: f32)
IFrnNativeControlHostTopLevelAttachment::ShowInBounds
Sourcepub fn hide_with_size(&self, width: f32, height: f32)
pub fn hide_with_size(&self, width: f32, height: f32)
IFrnNativeControlHostTopLevelAttachment::HideWithSize
Sourcepub fn release_child(&self)
pub fn release_child(&self)
IFrnNativeControlHostTopLevelAttachment::ReleaseChild
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl<T: IFrnNativeControlHostTopLevelAttachmentImpl> ImplementedBy<T> for IFrnNativeControlHostTopLevelAttachment
impl<T: IFrnNativeControlHostTopLevelAttachmentImpl> ImplementedBy<T> for IFrnNativeControlHostTopLevelAttachment
const VTBL: &'static IFrnNativeControlHostTopLevelAttachmentVtbl
Source§impl Interface for IFrnNativeControlHostTopLevelAttachment
impl Interface for IFrnNativeControlHostTopLevelAttachment
Source§const NAME: &'static str = "IFrnNativeControlHostTopLevelAttachment"
const NAME: &'static str = "IFrnNativeControlHostTopLevelAttachment"
IDL name, for diagnostics.
type Vtbl = IFrnNativeControlHostTopLevelAttachmentVtbl
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 IFrnNativeControlHostTopLevelAttachment
impl !Sync for IFrnNativeControlHostTopLevelAttachment
impl Freeze for IFrnNativeControlHostTopLevelAttachment
impl RefUnwindSafe for IFrnNativeControlHostTopLevelAttachment
impl Unpin for IFrnNativeControlHostTopLevelAttachment
impl UnsafeUnpin for IFrnNativeControlHostTopLevelAttachment
impl UnwindSafe for IFrnNativeControlHostTopLevelAttachment
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