#[repr(C)]pub struct mpv_event_command {
pub result: mpv_node,
}Fields§
§result: mpv_nodeResult data of the command. Note that success/failure is signaled separately via mpv_event.error. This field is only for result data in case of success. Most commands leave it at MPV_FORMAT_NONE. Set to MPV_FORMAT_NONE on failure.
Trait Implementations§
Source§impl Clone for mpv_event_command
impl Clone for mpv_event_command
Source§fn clone(&self) -> mpv_event_command
fn clone(&self) -> mpv_event_command
Returns a duplicate of the value. Read more
1.0.0§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_command
impl Debug for mpv_event_command
impl Copy for mpv_event_command
Auto Trait Implementations§
impl Freeze for mpv_event_command
impl RefUnwindSafe for mpv_event_command
impl !Send for mpv_event_command
impl !Sync for mpv_event_command
impl Unpin for mpv_event_command
impl UnwindSafe for mpv_event_command
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)