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