Struct windows::Win32::System::RealTimeCommunications::IRTCMediaEvent
pub struct IRTCMediaEvent(/* private fields */);
Implementations§
§impl IRTCMediaEvent
impl IRTCMediaEvent
pub unsafe fn MediaType(&self) -> Result<i32>
pub unsafe fn EventType(&self) -> Result<RTC_MEDIA_EVENT_TYPE>
pub unsafe fn EventReason(&self) -> Result<RTC_MEDIA_EVENT_REASON>
Trait Implementations§
§impl Clone for IRTCMediaEvent
impl Clone for IRTCMediaEvent
§fn clone(&self) -> IRTCMediaEvent
fn clone(&self) -> IRTCMediaEvent
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 IRTCMediaEvent
impl Debug for IRTCMediaEvent
§impl From<&IRTCMediaEvent> for &IDispatch
impl From<&IRTCMediaEvent> for &IDispatch
§fn from(value: &IRTCMediaEvent) -> Self
fn from(value: &IRTCMediaEvent) -> Self
Converts to this type from the input type.
§impl From<&IRTCMediaEvent> for &IUnknown
impl From<&IRTCMediaEvent> for &IUnknown
§fn from(value: &IRTCMediaEvent) -> Self
fn from(value: &IRTCMediaEvent) -> Self
Converts to this type from the input type.
§impl From<IRTCMediaEvent> for IDispatch
impl From<IRTCMediaEvent> for IDispatch
§fn from(value: IRTCMediaEvent) -> Self
fn from(value: IRTCMediaEvent) -> Self
Converts to this type from the input type.
§impl From<IRTCMediaEvent> for IUnknown
impl From<IRTCMediaEvent> for IUnknown
§fn from(value: IRTCMediaEvent) -> Self
fn from(value: IRTCMediaEvent) -> Self
Converts to this type from the input type.
§impl Interface for IRTCMediaEvent
impl Interface for IRTCMediaEvent
§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 IRTCMediaEvent
impl PartialEq for IRTCMediaEvent
§fn eq(&self, other: &IRTCMediaEvent) -> bool
fn eq(&self, other: &IRTCMediaEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IRTCMediaEvent
impl StructuralPartialEq for IRTCMediaEvent
Auto Trait Implementations§
impl RefUnwindSafe for IRTCMediaEvent
impl !Send for IRTCMediaEvent
impl !Sync for IRTCMediaEvent
impl Unpin for IRTCMediaEvent
impl UnwindSafe for IRTCMediaEvent
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