Struct windows::IUnknown [−][src]
#[repr(transparent)]pub struct IUnknown(_);
Expand description
All COM interfaces (and thus WinRT classes and interfaces) implement IUnknown under the hood to provide reference-counted lifetime management as well as the ability to query for additional interfaces that the object may implement.
Trait Implementations
impl Interface for IUnknown[src]
impl Interface for IUnknown[src]type Vtable = IUnknown_abi
const IID: Guid[src]
unsafe fn assume_vtable<T: Interface>(&self) -> &T::Vtable[src]
unsafe fn assume_vtable<T: Interface>(&self) -> &T::Vtable[src]Returns the vtable for an assumed interface. The name comes from Box’s assume_init method as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
impl Eq for IUnknown[src]
Auto Trait Implementations
impl RefUnwindSafe for IUnknown
impl !Send for IUnknown
impl !Sync for IUnknown
impl Unpin for IUnknown
impl UnwindSafe for IUnknown
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more