Trait windows::Win32::UI::Ribbon::IUICollection_Impl
pub trait IUICollection_Impl: Sized {
// Required methods
fn GetCount(&self) -> Result<u32>;
fn GetItem(&self, index: u32) -> Result<IUnknown>;
fn Add(&self, item: Option<&IUnknown>) -> Result<()>;
fn Insert(&self, index: u32, item: Option<&IUnknown>) -> Result<()>;
fn RemoveAt(&self, index: u32) -> Result<()>;
fn Replace(
&self,
indexreplaced: u32,
itemreplacewith: Option<&IUnknown>
) -> Result<()>;
fn Clear(&self) -> Result<()>;
}
Required Methods§
fn GetCount(&self) -> Result<u32>
fn GetItem(&self, index: u32) -> Result<IUnknown>
fn Add(&self, item: Option<&IUnknown>) -> Result<()>
fn Insert(&self, index: u32, item: Option<&IUnknown>) -> Result<()>
fn RemoveAt(&self, index: u32) -> Result<()>
fn Replace( &self, indexreplaced: u32, itemreplacewith: Option<&IUnknown> ) -> Result<()>
fn Clear(&self) -> Result<()>
Object Safety§
This trait is not object safe.