Struct windows::Win32::System::Performance::IDataCollectorCollection
pub struct IDataCollectorCollection(/* private fields */);
Implementations§
§impl IDataCollectorCollection
impl IDataCollectorCollection
pub unsafe fn Count(&self) -> Result<i32>
pub unsafe fn get_Item<P0>(&self, index: P0) -> Result<IDataCollector>where
P0: IntoParam<VARIANT>,
pub unsafe fn _NewEnum(&self) -> Result<IUnknown>
pub unsafe fn Add<P0>(&self, collector: P0) -> Result<()>where
P0: IntoParam<IDataCollector>,
pub unsafe fn Remove<P0>(&self, collector: P0) -> Result<()>where
P0: IntoParam<VARIANT>,
pub unsafe fn Clear(&self) -> Result<()>
pub unsafe fn AddRange<P0>(&self, collectors: P0) -> Result<()>where
P0: IntoParam<IDataCollectorCollection>,
pub unsafe fn CreateDataCollectorFromXml<P0>(
&self,
bstrxml: P0,
pvalidation: *mut Option<IValueMap>,
pcollector: *mut Option<IDataCollector>
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn CreateDataCollector( &self, type: DataCollectorType ) -> Result<IDataCollector>
Trait Implementations§
§impl Clone for IDataCollectorCollection
impl Clone for IDataCollectorCollection
§fn clone(&self) -> IDataCollectorCollection
fn clone(&self) -> IDataCollectorCollection
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 IDataCollectorCollection
impl Debug for IDataCollectorCollection
§impl From<&IDataCollectorCollection> for &IDispatch
impl From<&IDataCollectorCollection> for &IDispatch
§fn from(value: &IDataCollectorCollection) -> Self
fn from(value: &IDataCollectorCollection) -> Self
Converts to this type from the input type.
§impl From<&IDataCollectorCollection> for &IUnknown
impl From<&IDataCollectorCollection> for &IUnknown
§fn from(value: &IDataCollectorCollection) -> Self
fn from(value: &IDataCollectorCollection) -> Self
Converts to this type from the input type.
§impl From<IDataCollectorCollection> for IDispatch
impl From<IDataCollectorCollection> for IDispatch
§fn from(value: IDataCollectorCollection) -> Self
fn from(value: IDataCollectorCollection) -> Self
Converts to this type from the input type.
§impl From<IDataCollectorCollection> for IUnknown
impl From<IDataCollectorCollection> for IUnknown
§fn from(value: IDataCollectorCollection) -> Self
fn from(value: IDataCollectorCollection) -> Self
Converts to this type from the input type.
§impl Interface for IDataCollectorCollection
impl Interface for IDataCollectorCollection
§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 IDataCollectorCollection
impl PartialEq for IDataCollectorCollection
§fn eq(&self, other: &IDataCollectorCollection) -> bool
fn eq(&self, other: &IDataCollectorCollection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDataCollectorCollection
impl StructuralPartialEq for IDataCollectorCollection
Auto Trait Implementations§
impl RefUnwindSafe for IDataCollectorCollection
impl !Send for IDataCollectorCollection
impl !Sync for IDataCollectorCollection
impl Unpin for IDataCollectorCollection
impl UnwindSafe for IDataCollectorCollection
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