Struct libav_ng::low_level::AVIOContext

source ·
#[repr(C)]
pub struct AVIOContext {
Show 37 fields pub av_class: *const AVClass, pub buffer: *mut u8, pub buffer_size: i32, pub buf_ptr: *mut u8, pub buf_end: *mut u8, pub opaque: *mut c_void, pub read_packet: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: i32) -> i32>, pub write_packet: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: i32) -> i32>, pub seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>, pub pos: i64, pub eof_reached: i32, pub write_flag: i32, pub max_packet_size: i32, pub checksum: u64, pub checksum_ptr: *mut u8, pub update_checksum: Option<unsafe extern "C" fn(_: u64, _: *const u8, _: u32) -> u64>, pub error: i32, pub read_pause: Option<unsafe extern "C" fn(_: *mut c_void, _: i32) -> i32>, pub read_seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: i64, _: i32) -> i64>, pub seekable: i32, pub maxsize: i64, pub direct: i32, pub bytes_read: i64, pub seek_count: i32, pub writeout_count: i32, pub orig_buffer_size: i32, pub short_seek_threshold: i32, pub protocol_whitelist: *const i8, pub protocol_blacklist: *const i8, pub write_data_type: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: i32, _: u32, _: i64) -> i32>, pub ignore_boundary_point: i32, pub current_type: u32, pub last_time: i64, pub short_seek_get: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, pub written: i64, pub buf_ptr_max: *mut u8, pub min_packet_size: i32,
}

Fields§

§av_class: *const AVClass§buffer: *mut u8§buffer_size: i32§buf_ptr: *mut u8§buf_end: *mut u8§opaque: *mut c_void§read_packet: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: i32) -> i32>§write_packet: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: i32) -> i32>§seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>§pos: i64§eof_reached: i32§write_flag: i32§max_packet_size: i32§checksum: u64§checksum_ptr: *mut u8§update_checksum: Option<unsafe extern "C" fn(_: u64, _: *const u8, _: u32) -> u64>§error: i32§read_pause: Option<unsafe extern "C" fn(_: *mut c_void, _: i32) -> i32>§read_seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: i64, _: i32) -> i64>§seekable: i32§maxsize: i64§direct: i32§bytes_read: i64§seek_count: i32§writeout_count: i32§orig_buffer_size: i32§short_seek_threshold: i32§protocol_whitelist: *const i8§protocol_blacklist: *const i8§write_data_type: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: i32, _: u32, _: i64) -> i32>§ignore_boundary_point: i32§current_type: u32§last_time: i64§short_seek_get: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>§written: i64§buf_ptr_max: *mut u8§min_packet_size: i32

Trait Implementations§

source§

impl Clone for AVIOContext

source§

fn clone(&self) -> AVIOContext

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AVIOContext

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Copy for AVIOContext

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.