Struct gstreamer_mpegts::GstMpegtsSection
source · #[repr(C)]pub struct GstMpegtsSection {Show 18 fields
pub parent: GstMiniObject,
pub section_type: i32,
pub pid: u16,
pub table_id: u8,
pub subtable_extension: u16,
pub version_number: u8,
pub current_next_indicator: i32,
pub section_number: u8,
pub last_section_number: u8,
pub crc: u32,
pub data: *mut u8,
pub section_length: u32,
pub cached_parsed: *mut *mut c_void,
pub destroy_parsed: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub offset: u64,
pub short_section: i32,
pub packetizer: Option<unsafe extern "C" fn(_: *mut GstMpegtsSection) -> i32>,
pub _gst_reserved: [*mut c_void; 4],
}
Fields§
§parent: GstMiniObject
§section_type: i32
§pid: u16
§table_id: u8
§subtable_extension: u16
§version_number: u8
§current_next_indicator: i32
§section_number: u8
§last_section_number: u8
§crc: u32
§data: *mut u8
§section_length: u32
§cached_parsed: *mut *mut c_void
§destroy_parsed: Option<unsafe extern "C" fn(_: *mut c_void)>
§offset: u64
§short_section: i32
§packetizer: Option<unsafe extern "C" fn(_: *mut GstMpegtsSection) -> i32>
§_gst_reserved: [*mut c_void; 4]
Trait Implementations§
source§impl Clone for GstMpegtsSection
impl Clone for GstMpegtsSection
source§fn clone(&self) -> GstMpegtsSection
fn clone(&self) -> GstMpegtsSection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GstMpegtsSection
impl Debug for GstMpegtsSection
impl Copy for GstMpegtsSection
Auto Trait Implementations§
impl Freeze for GstMpegtsSection
impl RefUnwindSafe for GstMpegtsSection
impl !Send for GstMpegtsSection
impl !Sync for GstMpegtsSection
impl Unpin for GstMpegtsSection
impl UnwindSafe for GstMpegtsSection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more