Struct windows::Win32::AI::MachineLearning::WinML::IWinMLModel
pub struct IWinMLModel(/* private fields */);
Implementations§
§impl IWinMLModel
impl IWinMLModel
pub unsafe fn GetDescription(&self) -> Result<*mut WINML_MODEL_DESC>
pub unsafe fn EnumerateMetadata( &self, index: u32, pkey: *mut PCWSTR, pvalue: *mut PCWSTR ) -> Result<()>
pub unsafe fn EnumerateModelInputs( &self, index: u32 ) -> Result<*mut WINML_VARIABLE_DESC>
pub unsafe fn EnumerateModelOutputs( &self, index: u32 ) -> Result<*mut WINML_VARIABLE_DESC>
Trait Implementations§
§impl Clone for IWinMLModel
impl Clone for IWinMLModel
§fn clone(&self) -> IWinMLModel
fn clone(&self) -> IWinMLModel
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 IWinMLModel
impl Debug for IWinMLModel
§impl From<&IWinMLModel> for &IUnknown
impl From<&IWinMLModel> for &IUnknown
§fn from(value: &IWinMLModel) -> Self
fn from(value: &IWinMLModel) -> Self
Converts to this type from the input type.
§impl From<IWinMLModel> for IUnknown
impl From<IWinMLModel> for IUnknown
§fn from(value: IWinMLModel) -> Self
fn from(value: IWinMLModel) -> Self
Converts to this type from the input type.
§impl Interface for IWinMLModel
impl Interface for IWinMLModel
§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 IWinMLModel
impl PartialEq for IWinMLModel
§fn eq(&self, other: &IWinMLModel) -> bool
fn eq(&self, other: &IWinMLModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWinMLModel
impl StructuralPartialEq for IWinMLModel
Auto Trait Implementations§
impl RefUnwindSafe for IWinMLModel
impl !Send for IWinMLModel
impl !Sync for IWinMLModel
impl Unpin for IWinMLModel
impl UnwindSafe for IWinMLModel
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