Trait IUICollection_Impl
pub trait IUICollection_Impl: IUnknownImpl {
// Required methods
fn GetCount(&self) -> Result<u32>;
fn GetItem(&self, index: u32) -> Result<IUnknown>;
fn Add(&self, item: Ref<'_, IUnknown>) -> Result<()>;
fn Insert(&self, index: u32, item: Ref<'_, IUnknown>) -> Result<()>;
fn RemoveAt(&self, index: u32) -> Result<()>;
fn Replace(
&self,
indexreplaced: u32,
itemreplacewith: Ref<'_, IUnknown>,
) -> Result<()>;
fn Clear(&self) -> Result<()>;
}
Required Methods§
fn GetCount(&self) -> Result<u32>
fn GetItem(&self, index: u32) -> Result<IUnknown>
fn Add(&self, item: Ref<'_, IUnknown>) -> Result<()>
fn Insert(&self, index: u32, item: Ref<'_, IUnknown>) -> Result<()>
fn RemoveAt(&self, index: u32) -> Result<()>
fn Replace( &self, indexreplaced: u32, itemreplacewith: Ref<'_, IUnknown>, ) -> Result<()>
fn Clear(&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.