[−][src]Struct com::interfaces::iclass_factory::IClassFactory
IClassFactory COM interface
Implementations
impl IClassFactory
[src]
pub unsafe fn CreateInstance<'a, __0: Into<Param<'a, Option<IUnknown>>>, __1: Into<Param<'a, *const GUID>>, __2: Into<Param<'a, *mut *mut c_void>>>(
&self,
aggr: __0,
riid: __1,
ppv: __2
) -> HRESULT
[src]
&self,
aggr: __0,
riid: __1,
ppv: __2
) -> HRESULT
the CreateInstance COM method
pub unsafe fn LockServer<'a, __0: Into<Param<'a, BOOL>>>(
&self,
increment: __0
) -> HRESULT
[src]
&self,
increment: __0
) -> HRESULT
the LockServer COM method
impl IClassFactory
[src]
pub fn create_instance<T: Interface>(&self) -> Option<T>
[src]
Create an instance of the associated class
This is a safe wrapper around CreateInstance
Methods from Deref<Target = <IClassFactory as Interface>::Super>
pub unsafe fn CreateInstance<'a, __0: Into<Param<'a, Option<IUnknown>>>, __1: Into<Param<'a, *const GUID>>, __2: Into<Param<'a, *mut *mut c_void>>>(
&self,
aggr: __0,
riid: __1,
ppv: __2
) -> HRESULT
[src]
&self,
aggr: __0,
riid: __1,
ppv: __2
) -> HRESULT
the CreateInstance COM method
pub unsafe fn LockServer<'a, __0: Into<Param<'a, BOOL>>>(
&self,
increment: __0
) -> HRESULT
[src]
&self,
increment: __0
) -> HRESULT
the LockServer COM method
pub fn create_instance<T: Interface>(&self) -> Option<T>
[src]
Create an instance of the associated class
This is a safe wrapper around CreateInstance
Trait Implementations
impl Clone for IClassFactory
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IClassFactory
[src]
impl Deref for IClassFactory
[src]
type Target = <IClassFactory as Interface>::Super
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Drop for IClassFactory
[src]
impl<'a> From<&'a IClassFactory> for &'a IUnknown
[src]
fn from(this: &'a IClassFactory) -> Self
[src]
impl From<IClassFactory> for IUnknown
[src]
fn from(this: IClassFactory) -> Self
[src]
impl Interface for IClassFactory
[src]
type VTable = IClassFactoryVTable
A COM compatible V-Table
type Super = IUnknown
The interface that this interface inherits from
const IID: IID
[src]
fn is_iid_in_inheritance_chain(riid: &IID) -> bool
[src]
fn as_iunknown(&self) -> &IUnknown
[src]
fn as_raw(&self) -> NonNull<NonNull<Self::VTable>>
[src]
impl<'a> Into<Param<'a, IUnknown>> for IClassFactory
[src]
impl<'a> Into<Param<'a, IUnknown>> for &'a IClassFactory
[src]
Auto Trait Implementations
impl RefUnwindSafe for IClassFactory
impl !Send for IClassFactory
impl !Sync for IClassFactory
impl Unpin for IClassFactory
impl UnwindSafe for IClassFactory
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,