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