Struct windows::Win32::Media::MediaFoundation::IMFSensorProfile
pub struct IMFSensorProfile(/* private fields */);
Implementations§
§impl IMFSensorProfile
impl IMFSensorProfile
pub unsafe fn GetProfileId(&self, pid: *mut SENSORPROFILEID) -> Result<()>
pub unsafe fn AddProfileFilter<P0>(
&self,
streamid: u32,
wzfiltersetstring: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn IsMediaTypeSupported<P0>(
&self,
streamid: u32,
pmediatype: P0
) -> Result<BOOL>where
P0: IntoParam<IMFMediaType>,
pub unsafe fn AddBlockedControl<P0>(&self, wzblockedcontrol: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
Trait Implementations§
§impl Clone for IMFSensorProfile
impl Clone for IMFSensorProfile
§fn clone(&self) -> IMFSensorProfile
fn clone(&self) -> IMFSensorProfile
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 IMFSensorProfile
impl Debug for IMFSensorProfile
§impl From<&IMFSensorProfile> for &IUnknown
impl From<&IMFSensorProfile> for &IUnknown
§fn from(value: &IMFSensorProfile) -> Self
fn from(value: &IMFSensorProfile) -> Self
Converts to this type from the input type.
§impl From<IMFSensorProfile> for IUnknown
impl From<IMFSensorProfile> for IUnknown
§fn from(value: IMFSensorProfile) -> Self
fn from(value: IMFSensorProfile) -> Self
Converts to this type from the input type.
§impl Interface for IMFSensorProfile
impl Interface for IMFSensorProfile
§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 IMFSensorProfile
impl PartialEq for IMFSensorProfile
§fn eq(&self, other: &IMFSensorProfile) -> bool
fn eq(&self, other: &IMFSensorProfile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFSensorProfile
impl StructuralPartialEq for IMFSensorProfile
Auto Trait Implementations§
impl RefUnwindSafe for IMFSensorProfile
impl !Send for IMFSensorProfile
impl !Sync for IMFSensorProfile
impl Unpin for IMFSensorProfile
impl UnwindSafe for IMFSensorProfile
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