Struct mpeg2ts_reader::packet::PCR [−][src]
Program Clock Reference
Fields
base: u64
extension: u16
Methods
impl PCR[src]
impl PCRpub fn from_slice(data: &[u8]) -> PCR[src]
pub fn from_slice(data: &[u8]) -> PCRPanics 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) -> PCRPanics 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 PCRfn eq(&self, other: &PCR) -> bool[src]
fn eq(&self, other: &PCR) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl From<PCR> for u64[src]
impl From<PCR> for u64impl Debug for PCR[src]
impl Debug for PCR