Struct rsmpeg::ffi::AVProbeData [−][src]
#[repr(C)]pub struct AVProbeData { pub filename: *const i8, pub buf: *mut u8, pub buf_size: i32, pub mime_type: *const i8, }
Expand description
This structure contains the data a format has to probe a file.
Fields
filename: *const i8
buf: *mut u8
Expand description
< Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
buf_size: i32
Expand description
< Size of buf except extra allocated bytes
mime_type: *const i8
Expand description
< mime_type, when known.
Trait Implementations
impl Clone for AVProbeData
[src]
impl Clone for AVProbeData
[src]pub fn clone(&self) -> AVProbeData
[src]
pub fn clone(&self) -> AVProbeData
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AVProbeData
[src]
impl Debug for AVProbeData
[src]impl Copy for AVProbeData
[src]
Auto Trait Implementations
impl RefUnwindSafe for AVProbeData
impl !Send for AVProbeData
impl !Sync for AVProbeData
impl Unpin for AVProbeData
impl UnwindSafe for AVProbeData
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more