Struct windows::Win32::Media::MediaFoundation::IMFTimecodeTranslate
pub struct IMFTimecodeTranslate(/* private fields */);
Implementations§
§impl IMFTimecodeTranslate
impl IMFTimecodeTranslate
pub unsafe fn BeginConvertTimecodeToHNS<P0, P1>(
&self,
ppropvartimecode: *const PROPVARIANT,
pcallback: P0,
punkstate: P1
) -> Result<()>where
P0: IntoParam<IMFAsyncCallback>,
P1: IntoParam<IUnknown>,
pub unsafe fn EndConvertTimecodeToHNS<P0>(&self, presult: P0) -> Result<i64>where
P0: IntoParam<IMFAsyncResult>,
pub unsafe fn BeginConvertHNSToTimecode<P0, P1>(
&self,
hnstime: i64,
pcallback: P0,
punkstate: P1
) -> Result<()>where
P0: IntoParam<IMFAsyncCallback>,
P1: IntoParam<IUnknown>,
pub unsafe fn EndConvertHNSToTimecode<P0>(
&self,
presult: P0
) -> Result<PROPVARIANT>where
P0: IntoParam<IMFAsyncResult>,
Trait Implementations§
§impl Clone for IMFTimecodeTranslate
impl Clone for IMFTimecodeTranslate
§fn clone(&self) -> IMFTimecodeTranslate
fn clone(&self) -> IMFTimecodeTranslate
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 IMFTimecodeTranslate
impl Debug for IMFTimecodeTranslate
§impl From<&IMFTimecodeTranslate> for &IUnknown
impl From<&IMFTimecodeTranslate> for &IUnknown
§fn from(value: &IMFTimecodeTranslate) -> Self
fn from(value: &IMFTimecodeTranslate) -> Self
Converts to this type from the input type.
§impl From<IMFTimecodeTranslate> for IUnknown
impl From<IMFTimecodeTranslate> for IUnknown
§fn from(value: IMFTimecodeTranslate) -> Self
fn from(value: IMFTimecodeTranslate) -> Self
Converts to this type from the input type.
§impl Interface for IMFTimecodeTranslate
impl Interface for IMFTimecodeTranslate
§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 IMFTimecodeTranslate
impl PartialEq for IMFTimecodeTranslate
§fn eq(&self, other: &IMFTimecodeTranslate) -> bool
fn eq(&self, other: &IMFTimecodeTranslate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFTimecodeTranslate
impl StructuralPartialEq for IMFTimecodeTranslate
Auto Trait Implementations§
impl RefUnwindSafe for IMFTimecodeTranslate
impl !Send for IMFTimecodeTranslate
impl !Sync for IMFTimecodeTranslate
impl Unpin for IMFTimecodeTranslate
impl UnwindSafe for IMFTimecodeTranslate
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