#[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
< Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
buf_size: i32
< Size of buf except extra allocated bytes
mime_type: *const i8
< 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 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 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