pub struct IConnectionPoint(/* private fields */);
Implementations§
Source§impl IConnectionPoint
impl IConnectionPoint
pub unsafe fn GetConnectionInterface(&self) -> Result<Guid>
pub unsafe fn GetConnectionPointContainer( &self, ) -> Result<IConnectionPointContainer>
pub unsafe fn Advise<'a>( &self, punksink: impl IntoParam<'a, IUnknown>, ) -> Result<u32>
pub unsafe fn Unadvise(&self, dwcookie: u32) -> Result<()>
pub unsafe fn EnumConnections(&self) -> Result<IEnumConnections>
Trait Implementations§
Source§impl Clone for IConnectionPoint
impl Clone for IConnectionPoint
Source§fn clone(&self) -> IConnectionPoint
fn clone(&self) -> IConnectionPoint
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 moreSource§impl Debug for IConnectionPoint
impl Debug for IConnectionPoint
Source§impl From<&CIE4ConnectionPoint> for IConnectionPoint
impl From<&CIE4ConnectionPoint> for IConnectionPoint
Source§fn from(value: &CIE4ConnectionPoint) -> Self
fn from(value: &CIE4ConnectionPoint) -> Self
Converts to this type from the input type.
Source§impl From<&IConnectionPoint> for IUnknown
impl From<&IConnectionPoint> for IUnknown
Source§fn from(value: &IConnectionPoint) -> Self
fn from(value: &IConnectionPoint) -> Self
Converts to this type from the input type.
Source§impl From<CIE4ConnectionPoint> for IConnectionPoint
impl From<CIE4ConnectionPoint> for IConnectionPoint
Source§fn from(value: CIE4ConnectionPoint) -> Self
fn from(value: CIE4ConnectionPoint) -> Self
Converts to this type from the input type.
Source§impl From<IConnectionPoint> for IUnknown
impl From<IConnectionPoint> for IUnknown
Source§fn from(value: IConnectionPoint) -> Self
fn from(value: IConnectionPoint) -> Self
Converts to this type from the input type.
Source§impl Interface for IConnectionPoint
impl Interface for IConnectionPoint
const IID: Guid
type Vtable = IConnectionPoint_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IConnectionPoint
impl PartialEq for IConnectionPoint
impl Eq for IConnectionPoint
impl StructuralPartialEq for IConnectionPoint
Auto Trait Implementations§
impl Freeze for IConnectionPoint
impl RefUnwindSafe for IConnectionPoint
impl !Send for IConnectionPoint
impl !Sync for IConnectionPoint
impl Unpin for IConnectionPoint
impl UnwindSafe for IConnectionPoint
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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