pub struct IMetaDataDispenser(/* private fields */);
Implementations§
§impl IMetaDataDispenser
impl IMetaDataDispenser
pub unsafe fn DefineScope( &self, rclsid: *const GUID, dwcreateflags: u32, riid: *const GUID ) -> Result<IUnknown>
pub unsafe fn OpenScope<P0>(
&self,
szscope: P0,
dwopenflags: u32,
riid: *const GUID
) -> Result<IUnknown>where
P0: Param<PCWSTR>,
pub unsafe fn OpenScopeOnMemory( &self, pdata: *const c_void, cbdata: u32, dwopenflags: u32, riid: *const GUID ) -> Result<IUnknown>
Trait Implementations§
§impl Clone for IMetaDataDispenser
impl Clone for IMetaDataDispenser
§fn clone(&self) -> IMetaDataDispenser
fn clone(&self) -> IMetaDataDispenser
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 IMetaDataDispenser
impl Debug for IMetaDataDispenser
§impl Deref for IMetaDataDispenser
impl Deref for IMetaDataDispenser
§impl From<&IMetaDataDispenser> for &IUnknown
impl From<&IMetaDataDispenser> for &IUnknown
§fn from(value: &IMetaDataDispenser) -> Self
fn from(value: &IMetaDataDispenser) -> Self
Converts to this type from the input type.
§impl From<&IMetaDataDispenserEx> for &IMetaDataDispenser
impl From<&IMetaDataDispenserEx> for &IMetaDataDispenser
§fn from(value: &IMetaDataDispenserEx) -> Self
fn from(value: &IMetaDataDispenserEx) -> Self
Converts to this type from the input type.
§impl From<IMetaDataDispenser> for IUnknown
impl From<IMetaDataDispenser> for IUnknown
§fn from(value: IMetaDataDispenser) -> Self
fn from(value: IMetaDataDispenser) -> Self
Converts to this type from the input type.
§impl From<IMetaDataDispenserEx> for IMetaDataDispenser
impl From<IMetaDataDispenserEx> for IMetaDataDispenser
§fn from(value: IMetaDataDispenserEx) -> Self
fn from(value: IMetaDataDispenserEx) -> Self
Converts to this type from the input type.
§impl Interface for IMetaDataDispenser
impl Interface for IMetaDataDispenser
§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§impl PartialEq for IMetaDataDispenser
impl PartialEq for IMetaDataDispenser
§fn eq(&self, other: &IMetaDataDispenser) -> bool
fn eq(&self, other: &IMetaDataDispenser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMetaDataDispenser
impl StructuralPartialEq for IMetaDataDispenser
Auto Trait Implementations§
impl Freeze for IMetaDataDispenser
impl RefUnwindSafe for IMetaDataDispenser
impl !Send for IMetaDataDispenser
impl !Sync for IMetaDataDispenser
impl Unpin for IMetaDataDispenser
impl UnwindSafe for IMetaDataDispenser
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