Struct mpeg2ts_reader::packet::PCR [−][src]
Program Clock Reference
Fields
base: u64
extension: u16
Methods
impl PCR
[src]
impl PCR
pub fn from_slice(data: &[u8]) -> PCR
[src]
pub fn from_slice(data: &[u8]) -> PCR
Panics if data
is shorter than 5 bytes
pub fn from_parts(base: u64, extension: u16) -> PCR
[src]
pub fn from_parts(base: u64, extension: u16) -> PCR
Panics if the base
is greater than 2^33-1 or the extension
is greater than 2^9-1
Trait Implementations
impl PartialEq for PCR
[src]
impl PartialEq for PCR
fn eq(&self, other: &PCR) -> bool
[src]
fn eq(&self, other: &PCR) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl From<PCR> for u64
[src]
impl From<PCR> for u64
impl Debug for PCR
[src]
impl Debug for PCR