Struct windows::Media::Playback::MediaPlayerError
#[repr(transparent)]pub struct MediaPlayerError(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl MediaPlayerError
impl MediaPlayerError
pub const Unknown: Self = _
pub const Aborted: Self = _
pub const NetworkError: Self = _
pub const DecodingError: Self = _
pub const SourceNotSupported: Self = _
Trait Implementations§
§impl Clone for MediaPlayerError
impl Clone for MediaPlayerError
§fn clone(&self) -> MediaPlayerError
fn clone(&self) -> MediaPlayerError
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 MediaPlayerError
impl Debug for MediaPlayerError
§impl Default for MediaPlayerError
impl Default for MediaPlayerError
§fn default() -> MediaPlayerError
fn default() -> MediaPlayerError
Returns the “default value” for a type. Read more
§impl PartialEq for MediaPlayerError
impl PartialEq for MediaPlayerError
§fn eq(&self, other: &MediaPlayerError) -> bool
fn eq(&self, other: &MediaPlayerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MediaPlayerError
impl Eq for MediaPlayerError
impl StructuralPartialEq for MediaPlayerError
Auto Trait Implementations§
impl RefUnwindSafe for MediaPlayerError
impl Send for MediaPlayerError
impl Sync for MediaPlayerError
impl Unpin for MediaPlayerError
impl UnwindSafe for MediaPlayerError
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