#[repr(C)]
pub struct AVStream {
Show 41 fields pub index: c_int, pub id: c_int, pub codec: *mut AVCodecContext, pub priv_data: *mut c_void, pub time_base: AVRational, pub start_time: i64, pub duration: i64, pub nb_frames: i64, pub disposition: c_int, pub discard: AVDiscard, pub sample_aspect_ratio: AVRational, pub metadata: *mut AVDictionary, pub avg_frame_rate: AVRational, pub attached_pic: AVPacket, pub side_data: *mut AVPacketSideData, pub nb_side_data: c_int, pub event_flags: c_int, pub r_frame_rate: AVRational, pub recommended_encoder_configuration: *mut c_char, pub codecpar: *mut AVCodecParameters, pub unused: *mut c_void, pub pts_wrap_bits: c_int, pub first_dts: i64, pub cur_dts: i64, pub last_IP_pts: i64, pub last_IP_duration: c_int, pub probe_packets: c_int, pub codec_info_nb_frames: c_int, pub need_parsing: AVStreamParseType, pub parser: *mut AVCodecParserContext, pub unused7: *mut c_void, pub unused6: AVProbeData, pub unused5: [i64; 17], pub index_entries: *mut AVIndexEntry, pub nb_index_entries: c_int, pub index_entries_allocated_size: c_uint, pub stream_identifier: c_int, pub unused8: c_int, pub unused9: c_int, pub unused10: c_int, pub internal: *mut AVStreamInternal,
}

Fields§

§index: c_int§id: c_int§codec: *mut AVCodecContext§priv_data: *mut c_void§time_base: AVRational§start_time: i64§duration: i64§nb_frames: i64§disposition: c_int§discard: AVDiscard§sample_aspect_ratio: AVRational§metadata: *mut AVDictionary§avg_frame_rate: AVRational§attached_pic: AVPacket§side_data: *mut AVPacketSideData§nb_side_data: c_int§event_flags: c_int§r_frame_rate: AVRational§recommended_encoder_configuration: *mut c_char§codecpar: *mut AVCodecParameters§unused: *mut c_void§pts_wrap_bits: c_int§first_dts: i64§cur_dts: i64§last_IP_pts: i64§last_IP_duration: c_int§probe_packets: c_int§codec_info_nb_frames: c_int§need_parsing: AVStreamParseType§parser: *mut AVCodecParserContext§unused7: *mut c_void§unused6: AVProbeData§unused5: [i64; 17]§index_entries: *mut AVIndexEntry§nb_index_entries: c_int§index_entries_allocated_size: c_uint§stream_identifier: c_int§unused8: c_int§unused9: c_int§unused10: c_int§internal: *mut AVStreamInternal

Trait Implementations§

source§

impl Clone for AVStream

source§

fn clone(&self) -> AVStream

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 AVStream

source§

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

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

impl PartialEq for AVStream

source§

fn eq(&self, other: &AVStream) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for AVStream

source§

impl Eq for AVStream

source§

impl StructuralPartialEq for AVStream

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> 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.