#[repr(C)]pub struct mpv_event_log_message {
pub prefix: *const c_char,
pub level: *const c_char,
pub text: *const c_char,
pub log_level: mpv_log_level,
}Fields§
§prefix: *const c_charThe module prefix, identifies the sender of the message. As a special case, if the message buffer overflows, this will be set to the string “overflow” (which doesn’t appear as prefix otherwise), and the text field will contain an informative message.
level: *const c_charThe log level as string. See mpv_request_log_messages() for possible values. The level “no” is never used here.
text: *const c_charThe log message. It consists of 1 line of text, and is terminated with a newline character. (Before API version 1.6, it could contain multiple or partial lines.)
log_level: mpv_log_levelThe same contents as the level field, but as a numeric ID. Since API version 1.6.
Trait Implementations§
Source§impl Clone for mpv_event_log_message
impl Clone for mpv_event_log_message
Source§fn clone(&self) -> mpv_event_log_message
fn clone(&self) -> mpv_event_log_message
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_log_message
impl Debug for mpv_event_log_message
impl Copy for mpv_event_log_message
Auto Trait Implementations§
impl Freeze for mpv_event_log_message
impl RefUnwindSafe for mpv_event_log_message
impl !Send for mpv_event_log_message
impl !Sync for mpv_event_log_message
impl Unpin for mpv_event_log_message
impl UnwindSafe for mpv_event_log_message
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