[][src]Struct obs_sys::encoder_packet

#[repr(C)]
pub struct encoder_packet {
    pub data: *mut u8,
    pub size: size_t,
    pub pts: i64,
    pub dts: i64,
    pub timebase_num: i32,
    pub timebase_den: i32,
    pub type_: obs_encoder_type,
    pub keyframe: bool,
    pub dts_usec: i64,
    pub sys_dts_usec: i64,
    pub priority: c_int,
    pub drop_priority: c_int,
    pub track_idx: size_t,
    pub encoder: *mut obs_encoder_t,
}

Fields

data: *mut u8size: size_tpts: i64dts: i64timebase_num: i32timebase_den: i32type_: obs_encoder_typekeyframe: booldts_usec: i64sys_dts_usec: i64priority: c_intdrop_priority: c_inttrack_idx: size_tencoder: *mut obs_encoder_t

Trait Implementations

impl Clone for encoder_packet[src]

impl Copy for encoder_packet[src]

impl Debug for encoder_packet[src]

impl Default for encoder_packet[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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.