Trait windows::Win32::AI::MachineLearning::WinML::IWinMLModel_Impl

pub trait IWinMLModel_Impl: Sized {
    // Required methods
    fn GetDescription(&self) -> Result<*mut WINML_MODEL_DESC>;
    fn EnumerateMetadata(
        &self,
        index: u32,
        pkey: *mut PCWSTR,
        pvalue: *mut PCWSTR,
    ) -> Result<()>;
    fn EnumerateModelInputs(
        &self,
        index: u32,
    ) -> Result<*mut WINML_VARIABLE_DESC>;
    fn EnumerateModelOutputs(
        &self,
        index: u32,
    ) -> Result<*mut WINML_VARIABLE_DESC>;
}

Required Methods§

fn GetDescription(&self) -> Result<*mut WINML_MODEL_DESC>

fn EnumerateMetadata( &self, index: u32, pkey: *mut PCWSTR, pvalue: *mut PCWSTR, ) -> Result<()>

fn EnumerateModelInputs(&self, index: u32) -> Result<*mut WINML_VARIABLE_DESC>

fn EnumerateModelOutputs(&self, index: u32) -> Result<*mut WINML_VARIABLE_DESC>

Object Safety§

This trait is not object safe.

Implementors§