Struct windows::Win32::Web::InternetExplorer::ITargetContainer
pub struct ITargetContainer(/* private fields */);
Implementations§
§impl ITargetContainer
impl ITargetContainer
pub unsafe fn GetFrameUrl(&self) -> Result<PWSTR>
pub unsafe fn GetFramesContainer(&self) -> Result<IOleContainer>
Trait Implementations§
§impl CanInto<IUnknown> for ITargetContainer
impl CanInto<IUnknown> for ITargetContainer
§impl Clone for ITargetContainer
impl Clone for ITargetContainer
§fn clone(&self) -> ITargetContainer
fn clone(&self) -> ITargetContainer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ITargetContainer
impl Debug for ITargetContainer
§impl Deref for ITargetContainer
impl Deref for ITargetContainer
§impl From<&ITargetContainer> for &IUnknown
impl From<&ITargetContainer> for &IUnknown
§fn from(value: &ITargetContainer) -> Self
fn from(value: &ITargetContainer) -> Self
Converts to this type from the input type.
§impl From<ITargetContainer> for IUnknown
impl From<ITargetContainer> for IUnknown
§fn from(value: ITargetContainer) -> Self
fn from(value: ITargetContainer) -> Self
Converts to this type from the input type.
§impl Interface for ITargetContainer
impl Interface for ITargetContainer
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for ITargetContainer
impl PartialEq for ITargetContainer
§fn eq(&self, other: &ITargetContainer) -> bool
fn eq(&self, other: &ITargetContainer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITargetContainer
impl StructuralPartialEq for ITargetContainer
Auto Trait Implementations§
impl Freeze for ITargetContainer
impl RefUnwindSafe for ITargetContainer
impl !Send for ITargetContainer
impl !Sync for ITargetContainer
impl Unpin for ITargetContainer
impl UnwindSafe for ITargetContainer
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)