Struct rsmpeg::ffi::AVProgram[][src]

#[repr(C)]
pub struct AVProgram {
Show fields pub id: i32, pub flags: i32, pub discard: i32, pub stream_index: *mut u32, pub nb_stream_indexes: u32, pub metadata: *mut AVDictionary, pub program_num: i32, pub pmt_pid: i32, pub pcr_pid: i32, pub pmt_version: i32, pub start_time: i64, pub end_time: i64, pub pts_wrap_reference: i64, pub pts_wrap_behavior: i32,
}
Expand description

New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVProgram) must not be used outside libav*.

Fields

id: i32flags: i32discard: i32
Expand description

< selects which program to discard and which to feed to the caller

stream_index: *mut u32nb_stream_indexes: u32metadata: *mut AVDictionaryprogram_num: i32pmt_pid: i32pcr_pid: i32pmt_version: i32start_time: i64
Expand description

All fields below this line are not part of the public API. They may not be used outside of libavformat and can be changed and removed at will. New public fields should be added right above.

end_time: i64pts_wrap_reference: i64
Expand description

< reference dts for wrap detection

pts_wrap_behavior: i32
Expand description

< behavior on wrap detection

Trait Implementations

impl Clone for AVProgram[src]

pub fn clone(&self) -> AVProgram[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AVProgram[src]

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

Formats the value using the given formatter. Read more

impl Copy for AVProgram[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

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

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.