Struct windows::Media::MediaProperties::IMediaEncodingProperties
pub struct IMediaEncodingProperties(/* private fields */);
Implementations§
§impl IMediaEncodingProperties
impl IMediaEncodingProperties
pub fn Properties(&self) -> Result<MediaPropertySet>
pub fn Type(&self) -> Result<HSTRING>
pub fn SetSubtype(&self, value: &HSTRING) -> Result<()>
pub fn Subtype(&self) -> Result<HSTRING>
Trait Implementations§
§impl Clone for IMediaEncodingProperties
impl Clone for IMediaEncodingProperties
§fn clone(&self) -> IMediaEncodingProperties
fn clone(&self) -> IMediaEncodingProperties
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 IMediaEncodingProperties
impl Debug for IMediaEncodingProperties
§impl From<&IMediaEncodingProperties> for &IInspectable
impl From<&IMediaEncodingProperties> for &IInspectable
§fn from(value: &IMediaEncodingProperties) -> Self
fn from(value: &IMediaEncodingProperties) -> Self
Converts to this type from the input type.
§impl From<&IMediaEncodingProperties> for &IUnknown
impl From<&IMediaEncodingProperties> for &IUnknown
§fn from(value: &IMediaEncodingProperties) -> Self
fn from(value: &IMediaEncodingProperties) -> Self
Converts to this type from the input type.
§impl From<IMediaEncodingProperties> for IInspectable
impl From<IMediaEncodingProperties> for IInspectable
§fn from(value: IMediaEncodingProperties) -> Self
fn from(value: IMediaEncodingProperties) -> Self
Converts to this type from the input type.
§impl From<IMediaEncodingProperties> for IUnknown
impl From<IMediaEncodingProperties> for IUnknown
§fn from(value: IMediaEncodingProperties) -> Self
fn from(value: IMediaEncodingProperties) -> Self
Converts to this type from the input type.
§impl Interface for IMediaEncodingProperties
impl Interface for IMediaEncodingProperties
§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 IMediaEncodingProperties
impl PartialEq for IMediaEncodingProperties
§fn eq(&self, other: &IMediaEncodingProperties) -> bool
fn eq(&self, other: &IMediaEncodingProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMediaEncodingProperties
impl StructuralPartialEq for IMediaEncodingProperties
Auto Trait Implementations§
impl RefUnwindSafe for IMediaEncodingProperties
impl !Send for IMediaEncodingProperties
impl !Sync for IMediaEncodingProperties
impl Unpin for IMediaEncodingProperties
impl UnwindSafe for IMediaEncodingProperties
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