[−][src]Struct libmpv_sys::mpv_node_list
(see mpv_node)
Fields
num: c_int
Number of entries. Negative values are not allowed.
values: *mut mpv_node
MPV_FORMAT_NODE_ARRAY: values[N] refers to value of the Nth item
MPV_FORMAT_NODE_MAP: values[N] refers to value of the Nth key/value pair
If num > 0, values[0] to values[num-1] (inclusive) are valid. Otherwise, this can be NULL.
keys: *mut *mut c_char
MPV_FORMAT_NODE_ARRAY: unused (typically NULL), access is not allowed
MPV_FORMAT_NODE_MAP: keys[N] refers to key of the Nth key/value pair. If num > 0, keys[0] to keys[num-1] (inclusive) are valid. Otherwise, this can be NULL. The keys are in random order. The only guarantee is that keys[N] belongs to the value values[N]. NULL keys are not allowed.
Trait Implementations
impl Clone for mpv_node_list
[src]
fn clone(&self) -> mpv_node_list
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for mpv_node_list
[src]
impl Debug for mpv_node_list
[src]
Auto Trait Implementations
impl RefUnwindSafe for mpv_node_list
impl !Send for mpv_node_list
impl !Sync for mpv_node_list
impl Unpin for mpv_node_list
impl UnwindSafe for mpv_node_list
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,