Trait windows::Win32::AI::MachineLearning::WinML::IMLOperatorAttributes_Impl
pub trait IMLOperatorAttributes_Impl: Sized {
// Required methods
fn GetAttributeElementCount(
&self,
name: &PCSTR,
type: MLOperatorAttributeType
) -> Result<u32>;
fn GetAttribute(
&self,
name: &PCSTR,
type: MLOperatorAttributeType,
elementcount: u32,
elementbytesize: usize,
value: *mut c_void
) -> Result<()>;
fn GetStringAttributeElementLength(
&self,
name: &PCSTR,
elementindex: u32
) -> Result<u32>;
fn GetStringAttributeElement(
&self,
name: &PCSTR,
elementindex: u32,
attributeelementbytesize: u32,
attributeelement: PSTR
) -> Result<()>;
}
Required Methods§
fn GetAttributeElementCount( &self, name: &PCSTR, type: MLOperatorAttributeType ) -> Result<u32>
fn GetAttribute( &self, name: &PCSTR, type: MLOperatorAttributeType, elementcount: u32, elementbytesize: usize, value: *mut c_void ) -> Result<()>
fn GetStringAttributeElementLength( &self, name: &PCSTR, elementindex: u32 ) -> Result<u32>
fn GetStringAttributeElement( &self, name: &PCSTR, elementindex: u32, attributeelementbytesize: u32, attributeelement: PSTR ) -> Result<()>
Object Safety§
This trait is not object safe.