pub struct IMbnInterfaceManagerEvents(/* private fields */);
Implementations§
§impl IMbnInterfaceManagerEvents
impl IMbnInterfaceManagerEvents
pub unsafe fn OnInterfaceArrival<P0>(&self, newinterface: P0) -> Result<()>where
P0: Param<IMbnInterface>,
pub unsafe fn OnInterfaceRemoval<P0>(&self, oldinterface: P0) -> Result<()>where
P0: Param<IMbnInterface>,
Trait Implementations§
§impl Clone for IMbnInterfaceManagerEvents
impl Clone for IMbnInterfaceManagerEvents
§fn clone(&self) -> IMbnInterfaceManagerEvents
fn clone(&self) -> IMbnInterfaceManagerEvents
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IMbnInterfaceManagerEvents
impl Debug for IMbnInterfaceManagerEvents
§impl Deref for IMbnInterfaceManagerEvents
impl Deref for IMbnInterfaceManagerEvents
§impl From<&IMbnInterfaceManagerEvents> for &IUnknown
impl From<&IMbnInterfaceManagerEvents> for &IUnknown
§fn from(value: &IMbnInterfaceManagerEvents) -> Self
fn from(value: &IMbnInterfaceManagerEvents) -> Self
Converts to this type from the input type.
§impl From<IMbnInterfaceManagerEvents> for IUnknown
impl From<IMbnInterfaceManagerEvents> for IUnknown
§fn from(value: IMbnInterfaceManagerEvents) -> Self
fn from(value: IMbnInterfaceManagerEvents) -> Self
Converts to this type from the input type.
§impl Interface for IMbnInterfaceManagerEvents
impl Interface for IMbnInterfaceManagerEvents
§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 more§impl PartialEq for IMbnInterfaceManagerEvents
impl PartialEq for IMbnInterfaceManagerEvents
§fn eq(&self, other: &IMbnInterfaceManagerEvents) -> bool
fn eq(&self, other: &IMbnInterfaceManagerEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMbnInterfaceManagerEvents
impl StructuralPartialEq for IMbnInterfaceManagerEvents
Auto Trait Implementations§
impl Freeze for IMbnInterfaceManagerEvents
impl RefUnwindSafe for IMbnInterfaceManagerEvents
impl !Send for IMbnInterfaceManagerEvents
impl !Sync for IMbnInterfaceManagerEvents
impl Unpin for IMbnInterfaceManagerEvents
impl UnwindSafe for IMbnInterfaceManagerEvents
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