pub struct IToolbar(/* private fields */);
Implementations§
§impl IToolbar
impl IToolbar
pub unsafe fn AddBitmap<P0, P1>( &self, nimages: i32, hbmp: P0, cxsize: i32, cysize: i32, crmask: P1 ) -> Result<()>
pub unsafe fn AddButtons( &self, nbuttons: i32, lpbuttons: *const MMCBUTTON ) -> Result<()>
pub unsafe fn InsertButton( &self, nindex: i32, lpbutton: *const MMCBUTTON ) -> Result<()>
pub unsafe fn DeleteButton(&self, nindex: i32) -> Result<()>
pub unsafe fn GetButtonState( &self, idcommand: i32, nstate: MMC_BUTTON_STATE ) -> Result<BOOL>
pub unsafe fn SetButtonState<P0>(
&self,
idcommand: i32,
nstate: MMC_BUTTON_STATE,
bstate: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
Trait Implementations§
§impl Interface for IToolbar
impl Interface for IToolbar
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for IToolbar
impl StructuralPartialEq for IToolbar
Auto Trait Implementations§
impl RefUnwindSafe for IToolbar
impl !Send for IToolbar
impl !Sync for IToolbar
impl Unpin for IToolbar
impl UnwindSafe for IToolbar
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more