Trait IMFCollection_Impl
pub trait IMFCollection_Impl: IUnknownImpl {
// Required methods
fn GetElementCount(&self) -> Result<u32>;
fn GetElement(&self, dwelementindex: u32) -> Result<IUnknown>;
fn AddElement(&self, punkelement: Ref<'_, IUnknown>) -> Result<()>;
fn RemoveElement(&self, dwelementindex: u32) -> Result<IUnknown>;
fn InsertElementAt(
&self,
dwindex: u32,
punknown: Ref<'_, IUnknown>,
) -> Result<()>;
fn RemoveAllElements(&self) -> Result<()>;
}
Required Methods§
fn GetElementCount(&self) -> Result<u32>
fn GetElement(&self, dwelementindex: u32) -> Result<IUnknown>
fn AddElement(&self, punkelement: Ref<'_, IUnknown>) -> Result<()>
fn RemoveElement(&self, dwelementindex: u32) -> Result<IUnknown>
fn InsertElementAt( &self, dwindex: u32, punknown: Ref<'_, IUnknown>, ) -> Result<()>
fn RemoveAllElements(&self) -> Result<()>
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.