Struct windows::AI::MachineLearning::LearningModelBinding
#[repr(transparent)]pub struct LearningModelBinding(_);
Expand description
Required features: "AI_MachineLearning"
Implementations§
§impl LearningModelBinding
impl LearningModelBinding
pub fn First(&self) -> Result<IIterator<IKeyValuePair<HSTRING, IInspectable>>>
pub fn First(&self) -> Result<IIterator<IKeyValuePair<HSTRING, IInspectable>>>
Required features: "Foundation_Collections"
pub fn Bind<P0>(&self, name: &HSTRING, value: P0) -> Result<()>where P0: IntoParam<IInspectable>,
pub fn BindWithProperties<P0, P1>(
&self,
name: &HSTRING,
value: P0,
props: P1
) -> Result<()>where
P0: IntoParam<IInspectable>,
P1: TryIntoParam<IPropertySet>,
pub fn BindWithProperties<P0, P1>( &self, name: &HSTRING, value: P0, props: P1 ) -> Result<()>where P0: IntoParam<IInspectable>, P1: TryIntoParam<IPropertySet>,
Required features: "Foundation_Collections"
pub fn Clear(&self) -> Result<()>
pub fn CreateFromSession( session: &LearningModelSession ) -> Result<LearningModelBinding>
pub fn Lookup(&self, key: &HSTRING) -> Result<IInspectable>
pub fn Lookup(&self, key: &HSTRING) -> Result<IInspectable>
Required features: "Foundation_Collections"
Trait Implementations§
§impl Clone for LearningModelBinding
impl Clone for LearningModelBinding
§impl ComInterface for LearningModelBinding
impl ComInterface for LearningModelBinding
§impl Debug for LearningModelBinding
impl Debug for LearningModelBinding
§impl IntoIterator for &LearningModelBinding
impl IntoIterator for &LearningModelBinding
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§type IntoIter = IIterator<<&LearningModelBinding as IntoIterator>::Item>
type IntoIter = IIterator<<&LearningModelBinding as IntoIterator>::Item>
Which kind of iterator are we turning this into?
§impl IntoIterator for LearningModelBinding
impl IntoIterator for LearningModelBinding
§type Item = IKeyValuePair<HSTRING, IInspectable>
type Item = IKeyValuePair<HSTRING, IInspectable>
The type of the elements being iterated over.
§type IntoIter = IIterator<<LearningModelBinding as IntoIterator>::Item>
type IntoIter = IIterator<<LearningModelBinding as IntoIterator>::Item>
Which kind of iterator are we turning this into?