Trait ITfLangBarItemButton_Impl
pub trait ITfLangBarItemButton_Impl: ITfLangBarItem_Impl {
// Required methods
fn OnClick(
&self,
click: TfLBIClick,
pt: &POINT,
prcarea: *const RECT,
) -> Result<()>;
fn InitMenu(&self, pmenu: Ref<'_, ITfMenu>) -> Result<()>;
fn OnMenuSelect(&self, wid: u32) -> Result<()>;
fn GetIcon(&self) -> Result<HICON>;
fn GetText(&self) -> Result<BSTR>;
}
Required Methods§
fn OnClick( &self, click: TfLBIClick, pt: &POINT, prcarea: *const RECT, ) -> Result<()>
fn InitMenu(&self, pmenu: Ref<'_, ITfMenu>) -> Result<()>
fn OnMenuSelect(&self, wid: u32) -> Result<()>
fn GetIcon(&self) -> Result<HICON>
fn GetText(&self) -> Result<BSTR>
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.