Trait IMenuButton_Impl
pub trait IMenuButton_Impl: IUnknownImpl {
// Required methods
fn AddButton(
&self,
idcommand: i32,
lpbuttontext: &PCWSTR,
lptooltiptext: &PCWSTR,
) -> Result<()>;
fn SetButton(
&self,
idcommand: i32,
lpbuttontext: &PCWSTR,
lptooltiptext: &PCWSTR,
) -> Result<()>;
fn SetButtonState(
&self,
idcommand: i32,
nstate: MMC_BUTTON_STATE,
bstate: BOOL,
) -> Result<()>;
}
Required Methods§
fn AddButton( &self, idcommand: i32, lpbuttontext: &PCWSTR, lptooltiptext: &PCWSTR, ) -> Result<()>
fn SetButton( &self, idcommand: i32, lpbuttontext: &PCWSTR, lptooltiptext: &PCWSTR, ) -> Result<()>
fn SetButtonState( &self, idcommand: i32, nstate: MMC_BUTTON_STATE, bstate: BOOL, ) -> 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.