#[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,
}展开描述
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 实现§
源代码§impl Clone for AVProbeData
impl Clone for AVProbeData
源代码§fn clone(&self) -> AVProbeData
fn clone(&self) -> AVProbeData
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVProbeData
impl Debug for AVProbeData
源代码§impl PartialEq for AVProbeData
impl PartialEq for AVProbeData
impl Copy for AVProbeData
impl Eq for AVProbeData
impl StructuralPartialEq for AVProbeData
自动 trait 实现§
impl Freeze for AVProbeData
impl RefUnwindSafe for AVProbeData
impl !Send for AVProbeData
impl !Sync for AVProbeData
impl Unpin for AVProbeData
impl UnsafeUnpin for AVProbeData
impl UnwindSafe for AVProbeData
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多