#[repr(C)]
pub union mpv_node__bindgen_ty_1 {
pub string: *mut c_char,
pub flag: c_int,
pub int64: i64,
pub double_: f64,
pub list: *mut mpv_node_list,
pub ba: *mut mpv_byte_array,
/* private fields */
}Fields§
§string: *mut c_char§flag: c_intvalid if format==MPV_FORMAT_STRING
int64: i64valid if format==MPV_FORMAT_FLAG
double_: f64valid if format==MPV_FORMAT_INT64
list: *mut mpv_node_listvalid if format==MPV_FORMAT_DOUBLE */ valid if format==MPV_FORMAT_NODE_ARRAY or if format==MPV_FORMAT_NODE_MAP
ba: *mut mpv_byte_arrayvalid if format==MPV_FORMAT_BYTE_ARRAY
Trait Implementations§
Source§impl Clone for mpv_node__bindgen_ty_1
impl Clone for mpv_node__bindgen_ty_1
Source§fn clone(&self) -> mpv_node__bindgen_ty_1
fn clone(&self) -> mpv_node__bindgen_ty_1
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_node__bindgen_ty_1
impl Debug for mpv_node__bindgen_ty_1
impl Copy for mpv_node__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for mpv_node__bindgen_ty_1
impl RefUnwindSafe for mpv_node__bindgen_ty_1
impl !Send for mpv_node__bindgen_ty_1
impl !Sync for mpv_node__bindgen_ty_1
impl Unpin for mpv_node__bindgen_ty_1
impl UnwindSafe for mpv_node__bindgen_ty_1
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