#[repr(C)]pub struct mpv_byte_array {
pub data: *mut c_void,
pub size: usize,
}
Expand description
(see mpv_node)
Fields§
§data: *mut c_void
Pointer to the data. In what format the data is stored is up to whatever uses MPV_FORMAT_BYTE_ARRAY.
size: usize
Size of the data pointed to by ptr.
Trait Implementations§
Source§impl Clone for mpv_byte_array
impl Clone for mpv_byte_array
Source§fn clone(&self) -> mpv_byte_array
fn clone(&self) -> mpv_byte_array
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_byte_array
impl Debug for mpv_byte_array
impl Copy for mpv_byte_array
Auto Trait Implementations§
impl Freeze for mpv_byte_array
impl RefUnwindSafe for mpv_byte_array
impl !Send for mpv_byte_array
impl !Sync for mpv_byte_array
impl Unpin for mpv_byte_array
impl UnwindSafe for mpv_byte_array
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