#[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 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
Source§impl Default for AVProbeData
impl Default for AVProbeData
Source§impl Hash for AVProbeData
impl Hash for AVProbeData
Source§impl Ord for AVProbeData
impl Ord for AVProbeData
Source§fn cmp(&self, other: &AVProbeData) -> Ordering
fn cmp(&self, other: &AVProbeData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AVProbeData
impl PartialEq for AVProbeData
Source§impl PartialOrd for AVProbeData
impl PartialOrd for AVProbeData
impl Copy for AVProbeData
impl Eq for AVProbeData
impl StructuralPartialEq 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