Struct IMetaDataTables2
pub struct IMetaDataTables2(/* private fields */);
Implementations§
Methods from Deref<Target = IMetaDataTables>§
pub unsafe fn GetStringHeapSize(&self, pcbstrings: *mut u32) -> Result<()>
pub unsafe fn GetBlobHeapSize(&self, pcbblobs: *mut u32) -> Result<()>
pub unsafe fn GetGuidHeapSize(&self, pcbguids: *mut u32) -> Result<()>
pub unsafe fn GetUserStringHeapSize(&self, pcbblobs: *mut u32) -> Result<()>
pub unsafe fn GetNumTables(&self, pctables: *mut u32) -> Result<()>
pub unsafe fn GetTableIndex(&self, token: u32, pixtbl: *mut u32) -> Result<()>
pub unsafe fn GetTableInfo( &self, ixtbl: u32, pcbrow: *mut u32, pcrows: *mut u32, pccols: *mut u32, pikey: *mut u32, ppname: *const *const i8, ) -> Result<()>
pub unsafe fn GetColumnInfo( &self, ixtbl: u32, ixcol: u32, pocol: *mut u32, pcbcol: *mut u32, ptype: *mut u32, ppname: *const *const i8, ) -> Result<()>
pub unsafe fn GetCodedTokenInfo( &self, ixcdtkn: u32, pctokens: *mut u32, pptokens: *mut *mut u32, ppname: *const *const i8, ) -> Result<()>
pub unsafe fn GetRow( &self, ixtbl: u32, rid: u32, pprow: *mut *mut c_void, ) -> Result<()>
pub unsafe fn GetColumn( &self, ixtbl: u32, ixcol: u32, rid: u32, pval: *mut u32, ) -> Result<()>
pub unsafe fn GetString( &self, ixstring: u32, ppstring: *const *const i8, ) -> Result<()>
pub unsafe fn GetBlob( &self, ixblob: u32, pcbdata: *mut u32, ppdata: *const *const c_void, ) -> Result<()>
pub unsafe fn GetGuid( &self, ixguid: u32, ppguid: *const *const GUID, ) -> Result<()>
pub unsafe fn GetUserString( &self, ixuserstring: u32, pcbdata: *mut u32, ppdata: *const *const c_void, ) -> Result<()>
pub unsafe fn GetNextString(&self, ixstring: u32, pnext: *mut u32) -> Result<()>
pub unsafe fn GetNextBlob(&self, ixblob: u32, pnext: *mut u32) -> Result<()>
pub unsafe fn GetNextGuid(&self, ixguid: u32, pnext: *mut u32) -> Result<()>
pub unsafe fn GetNextUserString( &self, ixuserstring: u32, pnext: *mut u32, ) -> Result<()>
Trait Implementations§
§impl CanInto<IMetaDataTables> for IMetaDataTables2
impl CanInto<IMetaDataTables> for IMetaDataTables2
§impl CanInto<IUnknown> for IMetaDataTables2
impl CanInto<IUnknown> for IMetaDataTables2
§impl Clone for IMetaDataTables2
impl Clone for IMetaDataTables2
§fn clone(&self) -> IMetaDataTables2
fn clone(&self) -> IMetaDataTables2
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 IMetaDataTables2
impl Debug for IMetaDataTables2
§impl Deref for IMetaDataTables2
impl Deref for IMetaDataTables2
§impl From<&IMetaDataTables2> for &IMetaDataTables
impl From<&IMetaDataTables2> for &IMetaDataTables
§fn from(value: &IMetaDataTables2) -> Self
fn from(value: &IMetaDataTables2) -> Self
Converts to this type from the input type.
§impl From<&IMetaDataTables2> for &IUnknown
impl From<&IMetaDataTables2> for &IUnknown
§fn from(value: &IMetaDataTables2) -> Self
fn from(value: &IMetaDataTables2) -> Self
Converts to this type from the input type.
§impl From<IMetaDataTables2> for IMetaDataTables
impl From<IMetaDataTables2> for IMetaDataTables
§fn from(value: IMetaDataTables2) -> Self
fn from(value: IMetaDataTables2) -> Self
Converts to this type from the input type.
§impl From<IMetaDataTables2> for IUnknown
impl From<IMetaDataTables2> for IUnknown
§fn from(value: IMetaDataTables2) -> Self
fn from(value: IMetaDataTables2) -> Self
Converts to this type from the input type.
§impl Interface for IMetaDataTables2
impl Interface for IMetaDataTables2
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IMetaDataTables2
impl PartialEq for IMetaDataTables2
impl Eq for IMetaDataTables2
impl StructuralPartialEq for IMetaDataTables2
Auto Trait Implementations§
impl Freeze for IMetaDataTables2
impl RefUnwindSafe for IMetaDataTables2
impl !Send for IMetaDataTables2
impl !Sync for IMetaDataTables2
impl Unpin for IMetaDataTables2
impl UnwindSafe for IMetaDataTables2
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