[][src]Union libmpv_sys::mpv_node__bindgen_ty_1

#[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,
    // some fields omitted
}

Fields

string: *mut c_charflag: c_int

valid if format==MPV_FORMAT_STRING

int64: i64

valid if format==MPV_FORMAT_FLAG

double_: f64

valid if format==MPV_FORMAT_INT64

list: *mut mpv_node_list

valid if format==MPV_FORMAT_DOUBLE */ valid if format==MPV_FORMAT_NODE_ARRAY or if format==MPV_FORMAT_NODE_MAP

ba: *mut mpv_byte_array

valid if format==MPV_FORMAT_BYTE_ARRAY

Trait Implementations

impl Clone for mpv_node__bindgen_ty_1[src]

impl Copy for mpv_node__bindgen_ty_1[src]

impl Debug for mpv_node__bindgen_ty_1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.