Trait IToolbar_Impl
pub trait IToolbar_Impl: IUnknownImpl {
// Required methods
fn AddBitmap(
&self,
nimages: i32,
hbmp: HBITMAP,
cxsize: i32,
cysize: i32,
crmask: COLORREF,
) -> Result<()>;
fn AddButtons(
&self,
nbuttons: i32,
lpbuttons: *const MMCBUTTON,
) -> Result<()>;
fn InsertButton(
&self,
nindex: i32,
lpbutton: *const MMCBUTTON,
) -> Result<()>;
fn DeleteButton(&self, nindex: i32) -> Result<()>;
fn GetButtonState(
&self,
idcommand: i32,
nstate: MMC_BUTTON_STATE,
) -> Result<BOOL>;
fn SetButtonState(
&self,
idcommand: i32,
nstate: MMC_BUTTON_STATE,
bstate: BOOL,
) -> Result<()>;
}
Required Methods§
fn AddBitmap( &self, nimages: i32, hbmp: HBITMAP, cxsize: i32, cysize: i32, crmask: COLORREF, ) -> Result<()>
fn AddButtons(&self, nbuttons: i32, lpbuttons: *const MMCBUTTON) -> Result<()>
fn InsertButton(&self, nindex: i32, lpbutton: *const MMCBUTTON) -> Result<()>
fn DeleteButton(&self, nindex: i32) -> Result<()>
fn GetButtonState( &self, idcommand: i32, nstate: MMC_BUTTON_STATE, ) -> Result<BOOL>
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.