#[repr(C)]pub struct AVProbeData {
pub filename: *const c_char,
pub buf: *mut c_uchar,
pub buf_size: c_int,
pub mime_type: *const c_char,
}
Expand description
This structure contains the data a format has to probe a file.
Fields§
§filename: *const c_char
§buf: *mut c_uchar
< Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
buf_size: c_int
< Size of buf except extra allocated bytes
mime_type: *const c_char
< mime_type, when known.
Trait Implementations§
Source§impl Clone for AVProbeData
impl Clone for AVProbeData
Source§fn clone(&self) -> AVProbeData
fn clone(&self) -> AVProbeData
Returns a copy 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 AVProbeData
impl Debug for AVProbeData
impl Copy for AVProbeData
Auto Trait Implementations§
impl Freeze for AVProbeData
impl RefUnwindSafe for AVProbeData
impl !Send for AVProbeData
impl !Sync for AVProbeData
impl Unpin for AVProbeData
impl UnwindSafe for AVProbeData
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