Struct windows::Win32::Media::WindowsMediaFormat::IWMStreamPrioritization
pub struct IWMStreamPrioritization(/* private fields */);
Implementations§
§impl IWMStreamPrioritization
impl IWMStreamPrioritization
pub unsafe fn GetPriorityRecords( &self, precordarray: *mut WM_STREAM_PRIORITY_RECORD, pcrecords: *mut u16 ) -> Result<()>
pub unsafe fn SetPriorityRecords( &self, precordarray: *const WM_STREAM_PRIORITY_RECORD, crecords: u16 ) -> Result<()>
Trait Implementations§
§impl Clone for IWMStreamPrioritization
impl Clone for IWMStreamPrioritization
§fn clone(&self) -> IWMStreamPrioritization
fn clone(&self) -> IWMStreamPrioritization
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 IWMStreamPrioritization
impl Debug for IWMStreamPrioritization
§impl From<&IWMStreamPrioritization> for &IUnknown
impl From<&IWMStreamPrioritization> for &IUnknown
§fn from(value: &IWMStreamPrioritization) -> Self
fn from(value: &IWMStreamPrioritization) -> Self
Converts to this type from the input type.
§impl From<IWMStreamPrioritization> for IUnknown
impl From<IWMStreamPrioritization> for IUnknown
§fn from(value: IWMStreamPrioritization) -> Self
fn from(value: IWMStreamPrioritization) -> Self
Converts to this type from the input type.
§impl Interface for IWMStreamPrioritization
impl Interface for IWMStreamPrioritization
§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 IWMStreamPrioritization
impl PartialEq for IWMStreamPrioritization
§fn eq(&self, other: &IWMStreamPrioritization) -> bool
fn eq(&self, other: &IWMStreamPrioritization) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWMStreamPrioritization
impl StructuralPartialEq for IWMStreamPrioritization
Auto Trait Implementations§
impl RefUnwindSafe for IWMStreamPrioritization
impl !Send for IWMStreamPrioritization
impl !Sync for IWMStreamPrioritization
impl Unpin for IWMStreamPrioritization
impl UnwindSafe for IWMStreamPrioritization
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