Struct windows::Media::Core::MediaBindingEventArgs
pub struct MediaBindingEventArgs(/* private fields */);
Implementations§
§impl MediaBindingEventArgs
impl MediaBindingEventArgs
pub fn Canceled<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveCanceled(&self, token: EventRegistrationToken) -> Result<()>
pub fn MediaBinder(&self) -> Result<MediaBinder>
pub fn GetDeferral(&self) -> Result<Deferral>
pub fn SetUri<P0>(&self, uri: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn SetStream<P0>(&self, stream: P0, contenttype: &HSTRING) -> Result<()>where
P0: IntoParam<IRandomAccessStream>,
pub fn SetStreamReference<P0>(
&self,
stream: P0,
contenttype: &HSTRING
) -> Result<()>where
P0: IntoParam<IRandomAccessStreamReference>,
pub fn SetAdaptiveMediaSource<P0>(&self, mediasource: P0) -> Result<()>where
P0: IntoParam<AdaptiveMediaSource>,
pub fn SetStorageFile<P0>(&self, file: P0) -> Result<()>where
P0: IntoParam<IStorageFile>,
pub fn SetDownloadOperation<P0>(&self, downloadoperation: P0) -> Result<()>where
P0: IntoParam<DownloadOperation>,
Trait Implementations§
§impl Clone for MediaBindingEventArgs
impl Clone for MediaBindingEventArgs
§fn clone(&self) -> MediaBindingEventArgs
fn clone(&self) -> MediaBindingEventArgs
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 MediaBindingEventArgs
impl Debug for MediaBindingEventArgs
§impl From<&MediaBindingEventArgs> for &IInspectable
impl From<&MediaBindingEventArgs> for &IInspectable
§fn from(value: &MediaBindingEventArgs) -> Self
fn from(value: &MediaBindingEventArgs) -> Self
Converts to this type from the input type.
§impl From<&MediaBindingEventArgs> for &IUnknown
impl From<&MediaBindingEventArgs> for &IUnknown
§fn from(value: &MediaBindingEventArgs) -> Self
fn from(value: &MediaBindingEventArgs) -> Self
Converts to this type from the input type.
§impl From<MediaBindingEventArgs> for IInspectable
impl From<MediaBindingEventArgs> for IInspectable
§fn from(value: MediaBindingEventArgs) -> Self
fn from(value: MediaBindingEventArgs) -> Self
Converts to this type from the input type.
§impl From<MediaBindingEventArgs> for IUnknown
impl From<MediaBindingEventArgs> for IUnknown
§fn from(value: MediaBindingEventArgs) -> Self
fn from(value: MediaBindingEventArgs) -> Self
Converts to this type from the input type.
§impl Interface for MediaBindingEventArgs
impl Interface for MediaBindingEventArgs
§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 MediaBindingEventArgs
impl PartialEq for MediaBindingEventArgs
§fn eq(&self, other: &MediaBindingEventArgs) -> bool
fn eq(&self, other: &MediaBindingEventArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MediaBindingEventArgs
impl Send for MediaBindingEventArgs
impl StructuralPartialEq for MediaBindingEventArgs
impl Sync for MediaBindingEventArgs
Auto Trait Implementations§
impl RefUnwindSafe for MediaBindingEventArgs
impl Unpin for MediaBindingEventArgs
impl UnwindSafe for MediaBindingEventArgs
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