windows::Win32::AI::MachineLearning::WinML

Trait IMLOperatorTensor_Impl

pub trait IMLOperatorTensor_Impl: IUnknownImpl {
    // Required methods
    fn GetDimensionCount(&self) -> u32;
    fn GetShape(&self, dimensioncount: u32, dimensions: *mut u32) -> Result<()>;
    fn GetTensorDataType(&self) -> MLOperatorTensorDataType;
    fn IsCpuData(&self) -> bool;
    fn IsDataInterface(&self) -> bool;
    fn GetData(&self) -> *mut c_void;
    fn GetDataInterface(&self, datainterface: OutRef<'_, IUnknown>);
}

Required Methods§

fn GetDimensionCount(&self) -> u32

fn GetShape(&self, dimensioncount: u32, dimensions: *mut u32) -> Result<()>

fn GetTensorDataType(&self) -> MLOperatorTensorDataType

fn IsCpuData(&self) -> bool

fn IsDataInterface(&self) -> bool

fn GetData(&self) -> *mut c_void

fn GetDataInterface(&self, datainterface: OutRef<'_, IUnknown>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§