#[repr(C)]pub struct mpv_event_hook {
pub name: *const c_char,
pub id: u64,
}
Fields§
§name: *const c_char
The hook name as passed to mpv_hook_add().
id: u64
Internal ID that must be passed to mpv_hook_continue().
Trait Implementations§
Source§impl Clone for mpv_event_hook
impl Clone for mpv_event_hook
Source§fn clone(&self) -> mpv_event_hook
fn clone(&self) -> mpv_event_hook
Returns a duplicate 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 moreSource§impl Debug for mpv_event_hook
impl Debug for mpv_event_hook
impl Copy for mpv_event_hook
Auto Trait Implementations§
impl Freeze for mpv_event_hook
impl RefUnwindSafe for mpv_event_hook
impl !Send for mpv_event_hook
impl !Sync for mpv_event_hook
impl Unpin for mpv_event_hook
impl UnwindSafe for mpv_event_hook
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