pub struct IVideoFrameNativeFactory(/* private fields */);
Implementations§
§impl IVideoFrameNativeFactory
impl IVideoFrameNativeFactory
pub unsafe fn CreateFromMFSample<P0, P1, P2, T>( &self, data: P0, subtype: *const GUID, width: u32, height: u32, forcereadonly: P1, mindisplayaperture: Option<*const MFVideoArea>, device: P2 ) -> Result<T>
Methods from Deref<Target = IInspectable>§
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
Returns the canonical type name for the underlying object.
pub fn GetTrustLevel(&self) -> Result<i32, Error>
pub fn GetTrustLevel(&self) -> Result<i32, Error>
Gets the trust level of the current object.
Trait Implementations§
§impl Clone for IVideoFrameNativeFactory
impl Clone for IVideoFrameNativeFactory
§fn clone(&self) -> IVideoFrameNativeFactory
fn clone(&self) -> IVideoFrameNativeFactory
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 IVideoFrameNativeFactory
impl Debug for IVideoFrameNativeFactory
§impl Deref for IVideoFrameNativeFactory
impl Deref for IVideoFrameNativeFactory
§impl From<&IVideoFrameNativeFactory> for &IInspectable
impl From<&IVideoFrameNativeFactory> for &IInspectable
§fn from(value: &IVideoFrameNativeFactory) -> Self
fn from(value: &IVideoFrameNativeFactory) -> Self
Converts to this type from the input type.
§impl From<&IVideoFrameNativeFactory> for &IUnknown
impl From<&IVideoFrameNativeFactory> for &IUnknown
§fn from(value: &IVideoFrameNativeFactory) -> Self
fn from(value: &IVideoFrameNativeFactory) -> Self
Converts to this type from the input type.
§impl From<IVideoFrameNativeFactory> for IInspectable
impl From<IVideoFrameNativeFactory> for IInspectable
§fn from(value: IVideoFrameNativeFactory) -> Self
fn from(value: IVideoFrameNativeFactory) -> Self
Converts to this type from the input type.
§impl From<IVideoFrameNativeFactory> for IUnknown
impl From<IVideoFrameNativeFactory> for IUnknown
§fn from(value: IVideoFrameNativeFactory) -> Self
fn from(value: IVideoFrameNativeFactory) -> Self
Converts to this type from the input type.
§impl Interface for IVideoFrameNativeFactory
impl Interface for IVideoFrameNativeFactory
§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 IVideoFrameNativeFactory
impl PartialEq for IVideoFrameNativeFactory
§fn eq(&self, other: &IVideoFrameNativeFactory) -> bool
fn eq(&self, other: &IVideoFrameNativeFactory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IVideoFrameNativeFactory
impl StructuralPartialEq for IVideoFrameNativeFactory
Auto Trait Implementations§
impl Freeze for IVideoFrameNativeFactory
impl RefUnwindSafe for IVideoFrameNativeFactory
impl !Send for IVideoFrameNativeFactory
impl !Sync for IVideoFrameNativeFactory
impl Unpin for IVideoFrameNativeFactory
impl UnwindSafe for IVideoFrameNativeFactory
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