pub struct NativeMediaEvent { /* private fields */ }Expand description
Data associated with a media event.
Identifies the type of media event that occurred.
Implementations§
Source§impl NativeMediaEvent
Implementation of NativeMediaEvent construction.
impl NativeMediaEvent
Implementation of NativeMediaEvent construction.
Source§impl NativeMediaEvent
impl NativeMediaEvent
pub fn get_event_type(&self) -> &String
pub fn get_mut_event_type(&mut self) -> &mut String
pub fn set_event_type(&mut self, val: String) -> &mut Self
Trait Implementations§
Source§impl Default for NativeMediaEvent
impl Default for NativeMediaEvent
Source§fn default() -> NativeMediaEvent
fn default() -> NativeMediaEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NativeMediaEvent
impl RefUnwindSafe for NativeMediaEvent
impl Send for NativeMediaEvent
impl Sync for NativeMediaEvent
impl Unpin for NativeMediaEvent
impl UnsafeUnpin for NativeMediaEvent
impl UnwindSafe for NativeMediaEvent
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