#[repr(C)]
pub struct GstVideoCodecFrame {
Show 16 fields pub ref_count: c_int, pub flags: u32, pub system_frame_number: u32, pub decode_frame_number: u32, pub presentation_frame_number: u32, pub dts: GstClockTime, pub pts: GstClockTime, pub duration: GstClockTime, pub distance_from_sync: c_int, pub input_buffer: *mut GstBuffer, pub output_buffer: *mut GstBuffer, pub deadline: GstClockTime, pub events: *mut GList, pub user_data: gpointer, pub user_data_destroy_notify: GDestroyNotify, pub abidata: GstVideoCodecFrame_abidata,
}

Fields§

§ref_count: c_int§flags: u32§system_frame_number: u32§decode_frame_number: u32§presentation_frame_number: u32§dts: GstClockTime§pts: GstClockTime§duration: GstClockTime§distance_from_sync: c_int§input_buffer: *mut GstBuffer§output_buffer: *mut GstBuffer§deadline: GstClockTime§events: *mut GList§user_data: gpointer§user_data_destroy_notify: GDestroyNotify§abidata: GstVideoCodecFrame_abidata

Trait Implementations§

source§

impl Clone for GstVideoCodecFrame

source§

fn clone(&self) -> GstVideoCodecFrame

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 GstVideoCodecFrame

source§

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

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

impl Copy for GstVideoCodecFrame

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.