Struct windows::Win32::Media::MediaFoundation::IMFClockConsumer
pub struct IMFClockConsumer(/* private fields */);
Implementations§
§impl IMFClockConsumer
impl IMFClockConsumer
pub unsafe fn SetPresentationClock<P0>(
&self,
ppresentationclock: P0
) -> Result<()>where
P0: IntoParam<IMFPresentationClock>,
pub unsafe fn GetPresentationClock(&self) -> Result<IMFPresentationClock>
Trait Implementations§
§impl Clone for IMFClockConsumer
impl Clone for IMFClockConsumer
§fn clone(&self) -> IMFClockConsumer
fn clone(&self) -> IMFClockConsumer
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 IMFClockConsumer
impl Debug for IMFClockConsumer
§impl From<&IMFClockConsumer> for &IUnknown
impl From<&IMFClockConsumer> for &IUnknown
§fn from(value: &IMFClockConsumer) -> Self
fn from(value: &IMFClockConsumer) -> Self
Converts to this type from the input type.
§impl From<IMFClockConsumer> for IUnknown
impl From<IMFClockConsumer> for IUnknown
§fn from(value: IMFClockConsumer) -> Self
fn from(value: IMFClockConsumer) -> Self
Converts to this type from the input type.
§impl Interface for IMFClockConsumer
impl Interface for IMFClockConsumer
§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 IMFClockConsumer
impl PartialEq for IMFClockConsumer
§fn eq(&self, other: &IMFClockConsumer) -> bool
fn eq(&self, other: &IMFClockConsumer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFClockConsumer
impl StructuralPartialEq for IMFClockConsumer
Auto Trait Implementations§
impl RefUnwindSafe for IMFClockConsumer
impl !Send for IMFClockConsumer
impl !Sync for IMFClockConsumer
impl Unpin for IMFClockConsumer
impl UnwindSafe for IMFClockConsumer
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