Struct mpeg2ts_reader::pes::Timestamp
[−]
[src]
pub struct Timestamp { /* fields omitted */ }A 33-bit Elementary Stream timestamp, used to represent PTS and DTS values which may appear in an Elementy Stream header.
Methods
impl Timestamp[src]
pub fn from_pts_bytes(buf: &[u8]) -> Result<Timestamp, TimestampError>[src]
pub fn from_dts_bytes(buf: &[u8]) -> Result<Timestamp, TimestampError>[src]
pub fn value(&self) -> u64[src]
Trait Implementations
impl PartialEq for Timestamp[src]
fn eq(&self, __arg_0: &Timestamp) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Timestamp) -> bool[src]
This method tests for !=.
impl Debug for Timestamp[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for Timestamp[src]
fn clone(&self) -> Timestamp[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more