#[non_exhaustive]pub enum PlayerEventKind {
Ended,
Error,
FileOpened,
FirstFrame,
FileClosed,
Looped,
Unknown(u32),
}Expand description
Playback event kind; unknown native values remain observable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ended
Natural end of file.
Error
Unrecoverable playback error.
FileOpened
File was opened.
FirstFrame
First displayed packet after start, seek or loop.
FileClosed
A playback session closed.
Looped
Playback looped to its beginning.
Unknown(u32)
An unrecognized native event identifier.
Trait Implementations§
Source§impl Clone for PlayerEventKind
impl Clone for PlayerEventKind
impl Copy for PlayerEventKind
Source§impl Debug for PlayerEventKind
impl Debug for PlayerEventKind
impl Eq for PlayerEventKind
Source§impl Hash for PlayerEventKind
impl Hash for PlayerEventKind
Source§impl PartialEq for PlayerEventKind
impl PartialEq for PlayerEventKind
impl StructuralPartialEq for PlayerEventKind
Auto Trait Implementations§
impl Freeze for PlayerEventKind
impl RefUnwindSafe for PlayerEventKind
impl Send for PlayerEventKind
impl Sync for PlayerEventKind
impl Unpin for PlayerEventKind
impl UnsafeUnpin for PlayerEventKind
impl UnwindSafe for PlayerEventKind
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