DmxTsPes

Enum DmxTsPes 

Source
#[repr(u32)]
pub enum DmxTsPes {
Show 21 variants DMX_PES_AUDIO0 = 0, DMX_PES_VIDEO0 = 1, DMX_PES_TELETEXT0 = 2, DMX_PES_SUBTITLE0 = 3, DMX_PES_PCR0 = 4, DMX_PES_AUDIO1 = 5, DMX_PES_VIDEO1 = 6, DMX_PES_TELETEXT1 = 7, DMX_PES_SUBTITLE1 = 8, DMX_PES_PCR1 = 9, DMX_PES_AUDIO2 = 10, DMX_PES_VIDEO2 = 11, DMX_PES_TELETEXT2 = 12, DMX_PES_SUBTITLE2 = 13, DMX_PES_PCR2 = 14, DMX_PES_AUDIO3 = 15, DMX_PES_VIDEO3 = 16, DMX_PES_TELETEXT3 = 17, DMX_PES_SUBTITLE3 = 18, DMX_PES_PCR3 = 19, DMX_PES_OTHER = 20,
}
Expand description

type of the PES filter

Variants§

§

DMX_PES_AUDIO0 = 0

first audio PID

§

DMX_PES_VIDEO0 = 1

first video PID

§

DMX_PES_TELETEXT0 = 2

first teletext PID

§

DMX_PES_SUBTITLE0 = 3

first subtitle PID

§

DMX_PES_PCR0 = 4

first Program Clock Reference PID

§

DMX_PES_AUDIO1 = 5

second audio PID.

§

DMX_PES_VIDEO1 = 6

second video PID.

§

DMX_PES_TELETEXT1 = 7

second teletext PID.

§

DMX_PES_SUBTITLE1 = 8

second subtitle PID.

§

DMX_PES_PCR1 = 9

second Program Clock Reference PID.

§

DMX_PES_AUDIO2 = 10

third audio PID.

§

DMX_PES_VIDEO2 = 11

third video PID.

§

DMX_PES_TELETEXT2 = 12

third teletext PID.

§

DMX_PES_SUBTITLE2 = 13

third subtitle PID.

§

DMX_PES_PCR2 = 14

third Program Clock Reference PID.

§

DMX_PES_AUDIO3 = 15

fourth audio PID.

§

DMX_PES_VIDEO3 = 16

fourth video PID.

§

DMX_PES_TELETEXT3 = 17

fourth teletext PID.

§

DMX_PES_SUBTITLE3 = 18

fourth subtitle PID.

§

DMX_PES_PCR3 = 19

fourth Program Clock Reference PID.

§

DMX_PES_OTHER = 20

any other PID.

Implementations§

Source§

impl DmxTsPes

Source

pub const fn from_repr(discriminant: u32) -> Option<DmxTsPes>

Trait Implementations§

Source§

impl Clone for DmxTsPes

Source§

fn clone(&self) -> DmxTsPes

Returns a duplicate 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 DmxTsPes

Source§

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

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

impl PartialEq for DmxTsPes

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for DmxTsPes

Source§

impl Eq for DmxTsPes

Source§

impl StructuralPartialEq for DmxTsPes

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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,

Source§

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

Source§

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

Source§

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.